NOTE: This project, while exciting, is still an early prototype. While being mostly stable it is still being iterated with feature changes and improvements fairly regularly.
npm install -g sails sane-cli
sane new projectcreates a local project with sails-disk. To install with Docker and production databases see Options.
sane generate resource user name:string age:numberto generate a new API on the backend and models on the frontend
sane upto start the sails server on
localhost:1337as well as the ember dev server on
- To work on your frontend-app you work as you would normally do with ember-cli on
- You are now good to go.
Note: If you use Docker, make sure you have Docker Compose installed.
On Mac or Windows Docker Toolbox is required. This will install all of the necessary Docker tooling, including VirtualBox.
For Linux see: https://docs.docker.com/installation/ubuntulinux/
The full documentation is available at: http://sanestack.com/
sane-cli is developed with ES6/7 functionality, using traceur to provide a cleaner code as well as a nice experience for us the developers. To get started:
git clone https://github.com/artificialio/sane.git
cd sane && npm installto install the dependencies
npm linkto make sure you can test the master version globally
- If you add a new feature an according test would be appreciated
npm testto run the test-suite
Thanks to mphasize for creating sails-generate-ember-blueprints which overwrites the default SailsJS JSON response to the one that Ember Data's
Thanks to sails for that great backend framework
Thanks to ember-cli contributors for all the great effort that has gone into this product and from which I have taken a lot of inspiration and code, especially in regards to testing.
SANE Stack is MIT Licensed.