No description, website, or topics provided.
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Initial commit Aug 11, 2014
models Initial commit Aug 11, 2014
passport Initial commit Aug 11, 2014
public/stylesheets Initial commit Aug 11, 2014
routes Initial commit Aug 11, 2014
views Initial commit Aug 11, 2014
README.md Initial commit Aug 11, 2014
app.js Initial commit Aug 11, 2014
db.js Initial commit Aug 11, 2014
package.json Initial commit Aug 11, 2014

README.md

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