NestJS framework TypeScript starter repository with the most important components.
- Modularized project
- API Rest ready on http://127.0.0.1:3000/api/v0/
- Development, Production environment ready
- Passport, JWT Security implemented
- User Login with Mongo database
- NestJS Middelware implemented
- NestJS Interceptor implemented
- NestJS Filter implemented
- Mongodb connection ready
- Express server configured with elemental security implemented
- Scheduler implemented
- Compodoc documentation implemented (npx compodoc -p tsconfig.json -s) on http://127.0.0.1:8080
- Swagger API Document on http://127.0.0.1:3000/doc
- Mongodb instance on localhost, default port
- For production set environment variable: "prod"
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run build
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov