Skip to content

bradtraversy/nodeauthapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Authentication API

API for registering users with mongodb and authentication using a JWT (json web token). This app uses passport and passport-jwt and uses a JWT strategy

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

Backend authentication with json web token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published