Skip to content

ratneshjain40/express-jwt-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a boilerplate repo for express js auth with JWT Tokens and Passport JS local strategy

Setup

Populate these fields in .env file, in project root

DB_STRING=<YOUR CONNECTION STRING>
DBNAME = <DB NAME>
SECRET= <SECRET STRING>

Install npm dependencies

npm run start

JWT is retuned in the response of "register" and "login" endpoints

About

A JWT auth implementation in ExpressJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published