This repo contains the backend code for a school-management app in order to practice;
- Nest
- GraphQL & MongoDB
- Testing
Prerequisites
- Node is required. This can be installed via the website or by using nvm (see their documentation).
- Docker for local development.
Then install dependencies
$ npm install
# local mongodb
$ docker run --name mongo -p 27017:27017 -d mongo
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov