Skip to content

The API uses Mongoose DB for storing the user information, uses Passport JWT strategy for securing the routes

Notifications You must be signed in to change notification settings

BharathBrahma/auth-passport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication using Node JS, JWT and Passport

The API uses Mongoose DB for storing the user information, uses Passport JWT strategy for securing the routes

Version

1.0.0

Usage

npm install
npm start

##Endpoints

POST /users/register
POST /users/authenticate   // Gives back a token
GET /users/profile         // Needs json web token to authorize

About

The API uses Mongoose DB for storing the user information, uses Passport JWT strategy for securing the routes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published