Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1015 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 1015 Bytes

school-management-api CircleCI

Description

This repo contains the backend code for a school-management app in order to practice;

  • Nest
  • GraphQL & MongoDB
  • Testing

Installation

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

Running the app

# 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

Running tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov