A progressive Node.js framework for building efficient and scalable server-side applications.
Production ready boilerplate, nothing else to think.
This boilerplate aims to offer every that you need to start develop following best practices:
- Clean architecture
- Optimaized (release image)[.docker/node/release/Dockerfile] for NodeJS.
- Code quality check:
- Style guide, linter, and formatter using ts-standard
- Find unused files, dependencies and exports using knip
- commit linter with conventional commit
- VSCode debugger enabled attaching applications and tests.
- SWC fast compiler
- Zod schema declaration and validation library
- Replace standard logger with PinoJS
- Add telemetry throught OpenTelemetry
- Use CorePack
- Docker
docker-compose up
This command runs all apps in debug mode.
docker-compose logs --follow SERVICE
docker-compose exec SERVICE COMMAND
# unit tests
docker-compose exec server npm run test
# e2e tests
docker-compose exec server npm run test:e2e
# test coverage
docker-compose exec server npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Stefano Giurgiano
NestJS is MIT licensed.