grimborg / nodejs-sample-auth

Sample authentication application using ExpressJS and Passport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Authentication with ExpressJS and Passport

This is a sample ExpressJS application that shows how to implement user authentication using Passport.

The following strategies are implemented:

  • Local (username/password)
  • Google Plus

For more information, check out the excellent tutorials at scotch.io.

Configuration

Copy config.coffee.sample to config.coffee and add your credentials.

MongoDB

This application stores the users in MongoDB. You can start up MongoDB quickly using Docker:

docker run -d -p 27017:27017 dockerfile/mongodb

About

Sample authentication application using ExpressJS and Passport


Languages

Language:CoffeeScript 98.9%Language:JavaScript 1.1%