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:
- Clone the repo:
git clone [email protected]:scotch-io/easy-node-authentication
- Install packages:
npm install
- Change out the database configuration in config/database.js
- Change out auth keys in config/auth.js
- Launch:
node server.js
- Visit in your browser at:
http://localhost:8080