Skip to content

A template repo for MongoDB-based RESTful services.

Notifications You must be signed in to change notification settings

Kuunika/nest-morest-template

Repository files navigation

RESTful MongoDB Template

Config

  1. copy .env.example to .env
  2. set relevant env keys

Installation

# install deps
$ npm install

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

Docker

# first update the uri to refer to the db container
# use the command below to bring up the setup
$ docker-compose up

About

A template repo for MongoDB-based RESTful services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published