Skip to content

devtutorials/LocalPassportAuth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Authentication with Passport and Mongo

  • clone the repo
  • npm install
  • Install MongoDB
  • Run mongod locally
  • Using Mongo cli, create a db MyDatabase with a collection userInfo.
  • Add a few users to your collection with fields username and password
  • Run the app with: node index.js
  • navigate to localhost:3000 and login with one of the credentials you created.

About

Repo for the tutorial "Local Authentication using Passport with Node.js" written for SitePoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.7%
  • HTML 17.3%