Nest framework TypeScript starter template repository.
Nest starter repository plus:
- CORS and Helmet
- JWT authentication, AuthGuard and RolesGuard
- Request User param decorator
- Validation Pipe, Not Found interceptor and Duplicate Identifier exception with exception filter
- Simple user management API
- Samples of service and controller Jest tests
- Memory MongoDB for testing
- Cucumber e2e tests
- Seeder for default admin user
- ...
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:e2e:cov
Nest and this repository are MIT licensed.