Nest framework codebase best practice with GraphQL + TypeORM + MongoDB. Containing real world examples(CURD, auth, project & member management etc.)
- Authenticate
- Config jwt + passport
- Access token validate
- Guards
- Graphql Guard
- Local Guard
- Roles Guard
- TypeORM
- Modal Entity
- Validation
- Datebase config
- MongoDB
- MySQL
- PostgreSQL
- GraphQL
- Config integrate
- Query
- Mutation
- Subscription
- REST API
- POST
- GET
- PUT
- Logger
- NestJS Logger
- Winston
- Task scheduler
- Corn
- Test
- E2e
$ 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
[-] User role