/mun-inc-nest

A simple Node.js app made with Nest.js

Primary LanguageTypeScript

README FIRST

WITHOUT DOCKER

Installation

$ npm install

Then create an .env file with the MongoDB URL, like this:

MONGO_CONNECTION="mongodb://localhost:27017/mun"

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

WITH DOCKER

Running the app

Just run the next docker-compose command:

$ docker-compose up -d

License

MIT licensed.