NestJS project
$ yarn install
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
# migrate to latest
$ yarn migrate
# make migration
$ yarn migrate:make <name>
# rollback all
$ yarn knex migrate:rollback --all
# perform seed all
$ yarn seed
# make seed
$ yarn seed:make <name>
- copy .env.example to .env
- create database on mysql
- in browser goto localhost:3000/graphql