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.
This tutorial has been upgraded to use ExpressJS 4.0. See the commit for specific changes.
If you would like to download the code and try it for yourself:
- Clone the repo:
git clone git@github.com: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