/nestjs-sqlite

Primary LanguageTypeScript

Installation

$ yarn install

Running the app

# development
$ yarn run start

# 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

Database init

# create db and migrate to latest version
$ yarn run db:migrate

# create migration file
$ yarn run db:generate

# seed database
$ yarn run db:seed