Project template for Nest framework.
- Using Airbnb JavaScript Style Guide.
- Normalize project folders.
- Integrated with GraphQL.
- Integrated with Database(eg: mysql).
- Integrated with Swagger.
- Jwt auth token.
- Redis cache.
- Integrated with health check using terminus.
$ yarn install
You should install mysql
firstly, or you can use mysql docker image instead, docker-compose.yml
had predefined the mysql environment, you can start it by docker-compose up
;
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov