Start building modern web applications using React and Next.js.
Node 18+
Git 2+
pnpm 8
- Get the template using
npx degit
:
npx degit teo-garcia/react-template-next my_project
- Install the dependencies:
pnpm install
- Run the project:
pnpm dev
- Next 14.
- React 18.
- Tailwind 3.
- Typescript 4.
- ESLint 8 + Prettier 3.
- Husky 8 + Lint Staged 15.
- Jest 29 + Testing Library React 14.
- Playwright 1.
- MSW 2.
Command | Description |
---|---|
dev | Run dev:web . |
build | Run build:web . |
dev:web | Run next in DEV mode. |
build:web | Run next in PROD mode. |
start:web | Run next server (build required). |
test:unit | Run jest . |
test:e2e | Run dev , and playwright . |
lint:css | Lint CSS files. |
lint:js | Lint JS files. |
create:component | Creates a component at src/components/<name> . |
create:feature | Creates a component at src/features/<name> . |