NestJs Micro-service Kit is a boilerplate code to quickly setup a service without dealing with extra configurations.
$ 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:cov
- Generic CRUD: Generic CRUD Controller and Service
- SQL database: PostgreSQL object data modeling using TypeORM
- Testing: unit and integration tests using Jest
- Error handling: centralized error handling mechanism
- API documentation: with Swagger
- Security: set security HTTP headers using helmet
- CORS: Cross-Origin Resource-Sharing enabled using cors
- Docker support
- Git hooks: with husky and lint-staged
- Linting: with ESLint and Prettier
- Editor config: consistent editor configuration using EditorConfig
NestJs Micro-service Kit is MIT licensed.