## SANE Stack [![Gitter][gitter-badge]][gitter-badge-url]
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.
Sane - A Javascript fullstack and cli that uses two of the best frameworks, Sails and Ember, so you can rapidly create production-ready web applications. It takes away all the hassle setting up the full backend and frontend environment, embracing convention-over-configuration all the way, so you can focus just on shipping your app. Additionally this cli also supports Docker, using Docker Compose, to automatically install dependencies such as your database and will make deployment easier.
Quickstart:
npm install -g sails sane-cli
sane new project
creates a local project with sails-disk. To install with Docker and production databases see Options.sane generate resource user name:string age:number
to generate a new API on the backend and models on the frontendsane up
to start the sails server on localhost:1337
as well as the ember dev server on localhost:4200
.- To work on your frontend-app you work as you would normally do with ember-cli on
localhost:4200
. - You are now good to go.
Note: If you use Docker, make sure you have fig installed. On Mac or Windows also boot2docker and for Linux see: https://docs.docker.com/installation/ubuntulinux/
##Documentation
The full documentation is available at: http://sanestack.com/
##Development
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 install
to install the dependenciesnpm link
to make sure you can test the master version globally- If you add a new feature an according test would be appreciated
npm test
to run the test-suite
##Thanks
Thanks to mphasize for creating sails-generate-ember-blueprints which overwrites the default SailsJS JSON response to the one that Ember Data's RESTAdapter
and RESTSerializer
expects.
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.
##License
SANE Stack is MIT Licensed.
Built by
Built with love by Artificial Labs and contributors <3