Node Authentication using PassportJS (Local, Facebook, Twitter and Google+ Strategies)
Installation
- npm install
- For Facebook, Twitter and Google+ Authentication: set client id and secret key in auth.js
- For Local Login/ Signup - start MongoDB in local machine using command MONGOD and in terminal - For sandbox
set NODE_ENV=development
For productionset NODE_ENV=production
- Run the server using
node server.js