Skip to content

francoj22/backend2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passport-mongo

This project is an example of a basic Node.js application which is using Passport as the authentication middleware for authenticating against a locally configured Mongo backend

Steps to run the app

  • After dowloadgin the project, install the dependencies by running npm install
  • To start the server, run npm start on the base directory

Perquisites

The server assumes that you have a local mongo instance running. This means if you have mongo installed locally, all you need to do is configure the db.js file correctly and run the mongod daemon

module.exports = mongoose.model('User',{ id: String, username: String, password: String, email: String, firstName: String, lastName: String });

About

Login using Node js Mongo DB and Passport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published