Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

To generate new migration (app should be in running state)

$ npm run migration:generate -- db/migrations/

To generate run migration (app should be in running state)

$ npm run migration:run

To generate revert migration (app should be in running state)

$ npm run migration:revert

Database ER digram

postgres - public