$ npm install
Then create an .env
file with the MongoDB URL, like this:
MONGO_CONNECTION="mongodb://localhost:27017/mun"
# 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
Just run the next docker-compose
command:
$ docker-compose up -d