Skip to content

A simple node webserver using express. The seed has a register and login function already implemented using passport-local strategy.

Notifications You must be signed in to change notification settings

imuble/Node-Passport-Mongoose-JWT-Seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node-Passport-Mongoose-JWT-Seed

A simple node webserver using express. The seed has a register and login function already implemented using passport-local strategy.

Usage

The seed is runnable after running "npm install" by running "node server/server.js" in the command line. Tokens are provided either by processing a valid username/password combination or by providing a valid refresh token (which is provided alongside the access-token). The access-token can then be in the "Authorization" header on API requests that require validation, given that the request use the validation middleware.

About

A simple node webserver using express. The seed has a register and login function already implemented using passport-local strategy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published