/mun-inc-express

A simple NodeJS API

Primary LanguageJavaScript

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

Test

# unit tests
$ npm run test

WITH DOCKER

Running the app

Just run the next docker-compose command:

$ docker-compose up -d

License

MIT licensed.