Nest framework TypeScript starter repository.
# npm 8 or higher
# node 16 or higher
$ npm install
$ npm run husky
$ npm run lint:fix
$ docker-compose --version (must be 2.7.0)
$ docker-compose up db -d
$ docker-compose exec db bash
$ psql -U postgres -d projectz
# run migrations
$ npm run migration:run
# generate migrations
$ npm run migration:generate
# revert migrations
$ npm run migration:revert
if you get error on migrations try deleting dist folder, remove db container and volume
# 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
Nest is MIT licensed.