Tycho API - Built with Nest framework.
$ npm install
You also need a mongodb instance available to persist data:
docker run -d -p 27017:27017 --name tycho-mongo -v mongovol:/data/db mongo:4.2.5
# script will create 1 donor, 1 consumer and 1 call for papers
$ npx ts-node initiate-db.ts
# consumer:
login: [email protected]
password: consumer
# donor:
login: [email protected]
password: donor
# 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