Structure project with NestJS and Graphql
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# generate schema
$ npm run generate:schema
# seed cats data
$ npx nestjs-command seed:cats
# seed users data
$ npx nestjs-command seed:users
# eslint check
$ npm run lint
# build node image
$ docker-compose build
# start the services
$ docker-compose up -d
# view the logs
docker-compose logs -f
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
With the server running, visit http://localhost:3000/graphql
Nest is MIT licensed.