Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.04 KB

README.md

File metadata and controls

59 lines (41 loc) · 2.04 KB

image_squidhome@2x.png

sails-auth-super-template

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

Why

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.

Screenshots

Sails Auth Login Screen

Requirements

  • Sails.js >= 0.11.0
  • Node.js >= 0.10.0
  • MongoDB

Tools

MockupsJar - Free Online Mockup Generator

Quick start

  • 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 or config/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
  • Start Sails.js application with sails lift
  • Open http://localhost:1337 in your browser

License

Copyright © 2014-2015 ICENodes. Licensed under the terms of the MIT license.

More Resources

Provided by ICENodes - www.icenodes.com