Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 593 Bytes

README.md

File metadata and controls

55 lines (38 loc) · 593 Bytes

Nestjs-Tutorial

Local Environment

Installation dependecies

$ yarn

Development Tools

db migration

# reset schema
$ yarn db:reset

# create migration
$ yarn db:makeMigration "MIGRATION MESSAGE"

# apply migration
$ yarn db:migrate

setup infra

$ docker-compose up -d

Running the app

# development
$ yarn run start:local

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov