Skip to content

Latest commit

 

History

History
executable file
·
26 lines (20 loc) · 832 Bytes

README.md

File metadata and controls

executable file
·
26 lines (20 loc) · 832 Bytes

passport-mongo

This repository serves as 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 cloning the repo, 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

Commands to run

git clone https://github.com/eduladder/node.git

  • npm install -g nodemon
  • cd node
  • npm install
  • npm start

Port

http://localhost:3000