/nestjs-api

simple nestjs mongodb crud api

Primary LanguageTypeScript

Simple NestJs MongoDB crud API

Description

Nest framework TypeScript starter repository.

Installation

create .env like .env.example

$ 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 Run

create .env like .env.example

docker-compose -f docker-compose.yml up --build