This repository has been archived in favor of monorepo architecture. The current source for CU Get Reg API is now located in thinc-org/cugetreg repository.
Backend service for CU Get Reg.
This project is powered by NestJS and GraphQL. For official documentation, see here.
The CU Get Reg API Documentation can be found here.
- Node 14 LTS
- Yarn
- Docker-compose
- Install dependencies.
$ yarn install
- Copy and rename
.env.template
to.env
$ cp .env.template .env
Make sure port 27017
is available.
$ docker-compose up
MongoDB should be up and running on http://localhost:27017
In case of Bind for 0.0.0.0:27017 failed: port is already allocated
, make sure port 27017
is available.
# 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