/easy-node-authentication

Code for the entire scotch.io tutorial series: Complete Guide to Node Authentication

Primary LanguageJavaScript

Easy Node Authentication

Code for the entire scotch.io tutorial series: Complete Guide to Node Authentication

We will be using Passport to authenticate users locally, with Facebook, Twitter, and Google.

Upgraded To Express 4.0

This tutorial has been upgraded to use ExpressJS 4.0. See the commit for specific changes.

Instructions

If you would like to download the code and try it for yourself:

  1. Clone the repo: git clone git@github.com:scotch-io/easy-node-authentication
  2. Install packages: npm install
  3. Change out the database configuration in config/database.js
  4. Change out auth keys in config/auth.js
  5. Launch: node server.js
  6. Visit in your browser at: http://localhost:8080

The Tutorials