Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 2.98 KB

File metadata and controls

68 lines (49 loc) · 2.98 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

This project implements a simple authentication system and provide 3 different endpoints in order to use and test it:

  • POST Register
  • POST Login
  • GET Logged_user

Installation

$ docker build -t pch-mongo .

$ docker run -d -p 27017:27017 --name pch-mongo pch-mongo

$ 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

Start pro

License

Nest is MIT licensed.