Nest framework TypeScript starter repository.
src
└── common
├── decorators
├── dtos
├── filters
├── guards
├── interceptors
├── middleware
├── pipes
├── common.controller.ts
├── common.module.ts
└── common.service.ts
Enviroments Variables :
PORT=3000
DB_HOST=localhost
DB_PORT=5432
DB_USER=username
DB_PASSWORD=password
DB_NAME=name
$ yarn install
# 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
# prod
$ docker-compose up -d
# dev
$ docker-compose -f docker-compose.dev.yml up -d
-
Nest.js Cheat Sheet Nest Cheat Sheet By Klerith Fernando Herrera.