A progressive Node.js framework for building efficient and scalable server-side applications.
The Nest.js Boilerplate is a foundational template designed to accelerate the development of scalable and efficient server-side applications. It incorporates:
- Commonly used packages
- Best practices for modern development
- Modular architecture for easy extension and adaptation
This boilerplate is an ideal starting point for building maintainable and production-ready applications with Nest.js.
Duplicate the example environment configuration file to .env
:
$ cp .env.example .env
Install all required Node.js packages:
$ npm install
Run the application in different modes:
# Development mode
$ npm run start
# Watch mode (for hot-reloading)
$ npm run start:dev
# Production mode
$ npm run start:prod
Execute tests using the following commands:
# Unit tests
$ npm run test
# End-to-End (e2e) tests
$ npm run test:e2e
# Test coverage report
$ npm run test:cov
This project is MIT licensed.