/courses-server-nestjs

REST API Courses server on Nodejs + NestJs

Primary LanguageTypeScript

course-server

Description

REST API Courses server on Nodejs + NestJs

Installation

Copy file .env.example to .env and edit settings

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
npm run start:prod

Docker

# start container
$ sudo docker-compose up

Swagger API doc:
Open http://localhost:3000/api

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov