Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 699 Bytes

README.md

File metadata and controls

66 lines (45 loc) · 699 Bytes

Description

NestJS project

Installation

$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Migration

# migrate to latest
$ yarn migrate

# make migration
$ yarn migrate:make <name>

# rollback all
$ yarn knex migrate:rollback --all

Seed

# perform seed all
$ yarn seed

# make seed
$ yarn seed:make <name>

Before start the app

  • copy .env.example to .env
  • create database on mysql

Open graphql

  • in browser goto localhost:3000/graphql