Skip to content

Latest commit

 

History

History
executable file
·
57 lines (40 loc) · 758 Bytes

README.md

File metadata and controls

executable file
·
57 lines (40 loc) · 758 Bytes

Running database

# development
$ docker-compose up dev

# development in background(detach)
$ docker-compose up -d dev

# production mode
$ docker-compose up prod

# after updating package.json
$ docker-compose up --build -V -d dev

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Migrations

# create migration
$ npm run migration:create -- <Migration_Name>

# run migrations
$ npm run migration:run

# revert migration
$ npm run migration:revert

# generate migrations
$ npm run migration:generate -- <Migration_Name>

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov