Sails.js Email/Social Auth full template to make it super easy to start a new project. Currently we support:
- Local authentication with email and user signup
- Twitter authentication
- Facebook authentication
You can see the demo at http://sails-auth-super-template.icenodes.com
We are building a lot of internal projects and external projects like Startup MVPs and we need it a base template for our authentication and authorization project with support for Twitter/Facebook login.
- Sails.js >= 0.11.0
- Node.js >= 0.10.0
- MongoDB
MockupsJar - Free Online Mockup Generator
- Download / Clone the repository
git clone https://github.com/bmustata/sails-auth-super-template
- Navigate into your project directory 'cd sails-auth-super-template'
- Run
npm install
to install dependencies - Run 'bower install' to install frond-end packages
- Start / Install your MongoDB
- Setup your MongoDB settings in
config/env/development.js
orconfig/env/production.js
- Enable your strategies in the previous config file:
- Local Strategy:
enableLocalAuth: true/false
- Twitter Strategy:
enableTwitterAuth: true/false
- Facebook Strategy:
enableFacebookAuth: true/false
- Local Strategy:
- Start Sails.js application with
sails lift
- Open
http://localhost:1337
in your browser
Copyright © 2014-2015 ICENodes. Licensed under the terms of the MIT license.
- Stackoverflow
- #sailsjs on Freenode (IRC channel)
- Node.js Development and Consulting
- Tutorials
- Sails.js
Provided by ICENodes - www.icenodes.com