Skip to content

Chri2187/passport-local-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passport-local-login

Back-end code for login & registration with passport.js

Available Scripts

In the project directory run to install all dependencies:

npm install

In the server directory create a .env file and add:

MDB_URI=<mongodb_uri>

JWT_KEY=<jwt_secret_key>

JWT_LIFETIME=<jwt_lifetime>

SESS_KEY=<session_key>

Runs the BE in the development mode.
Open http://localhost:3001 to view it in your browser.

In the both project directories, you can run:

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published