(press spacebar to advance slides)
IanVS
@ianvanschooten
*Currently Beta
Sails-Generate-Ember-Blueprints
Photo
100% JavaScript
Node.js + Express
Any Database
Configuration
over
As of April, 2015
REST API
WebSockets
Security Policies
Auto-Generated Endpoints
The code you write works with WebSockets and HTTP
Reusable middleware functions
Memory
Vibrant Community
Quickly create an integrated full stack
Maintain 100% JavaScript to avoid context switching
Modularity (Docker, addons, hooks, etc.)
npm install -g sane-cli
Installation
Note: You should install these before SANE:
* If you plan to use Docker
sane new project_nameCreate a New Project
Basic project using sails-disk and no Docker:
sane new project_name -d mongo --dockerProject using MongoDB and Docker:
Other database options:
-d [mongo|postgres|mysql|disk]sane generate resource userGenerate a Resource
Create a "user" resource in ember and "users" API in Sails:
sane generate resource user name:string birthYear:numberCreate a "user" and attributes:
sane upStart Servers
Start Sails and Ember:
sails lift && ember serve --proxy=localhost:1337Equivalent to:
This starts back end on localhost:1337 and front end on localhost:4200
Front and back ends will live-reload as you make changes
Lively conversation and support
Tutorials + example project (how-to-sane)
Community-developed training manual
Markus Padourek (globegitter)
Martin Genev (mgenev)
Mike McNeil (mikermcneil)
Plus countless other contributors!
Report any issues/bugs/pain points
Pull Requests welcome!
A great way to learn, as well