Skip to content

mikzuit/node-rest-api-with-auth-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Rest Api

environment

Application runs on NODE_ENV = development environment

Requirements

  • Mongo DB with name "rest_api" on "mongodb://localhost:27017"
  • Node.js version 10.15.3

installation

Authentication

  • GET method work without authentication
  • POST & DELETE needs a header "token" with value "token_string"

testing

  • install dev packages with "npm i --save-dev mocha && npm i --save-dev chai"
  • on "testing" branch execute "npm test"

Author

Miguel Ruiz aka Mik Zuit

About

Node REST api with authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published