/node-sails-123-factor-proto

a basic prototype for different levels of user auth

Primary LanguageJavaScriptMIT LicenseMIT

sails-123-factor-proto

a basic prototype for different levels of user auth

API Server

Dependencies: Node.js 4+, npm, MySQL

  $ npm install sails -g

Install Sails API server dependencies

  $ npm install

Run API server

  $ sails lift

SPA using API Server

Load ./demo/index.html via server or directly from file into browser

Presentation

Dependencies: Node, npm

  $ npm install bower -g

Install presentation

  $ bower install

Run presentation

Load ./index.html via server or directly from file into browser