⚡ Modern Next.js Template: Full-stack architecture, shared TS/Lint/Jest configs, Dependabot configuration and automated CI.
The recommended Node version is lts/krypton -> v24.14.1.
This repository is pre-configured. To start a new project:
- Clone this repository.
- Configure your environment (environment files, configurations files)
- Run
npm installcommand. - Complete the project :
- Routes and endpoints are in app
- Backend is in api
- UI logic is in ui
- Styles are in app
- Medias files are in public
- Communication between projects is in lib
- Don't forget to update the tests !
npm testnpm run test:covnpm run lintnpm run lint:strictnpm run formatnpm run buildnpm run start:prodValidate your setup by running the following commands in order:
npm clean-install # Update dependencies
npm run start:dev # Check development execution
npm run format # Format code
npm run test:cov # Run tests
npm run check:tsc # Type-check
npm run lint:strict # Lint code
npm run build # Run production build
npm run start:prod # Check production execution