Skip to content
Sane Stack - A Sails and Ember cli to get you kickstarted with app development
Branch: master
Clone or download
IanVS Merge pull request #207 from robbyoconnor/fix-babel
Fix babel-cli not being found
Latest commit b4bfd15 Feb 25, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib Update compiled lib files, until better solution can be found. Sep 3, 2015
src Merge pull request #189 from artificialio/issue188 Sep 3, 2015
templates Change server string in docker-compose.yml (fixes #187) Sep 3, 2015
tests
.babelrc
.editorconfig
.eslintignore Fix whitespace linting errors May 13, 2015
.eslintrc
.gitignore
.npmignore
.sane-cli
.travis.yml Remove iojs testing on Travis, add Node 4 Sep 24, 2015
CHANGELOG.md
CONTRIBUTING.md Removed a space. Mar 11, 2015
LICENSE.md Added .jshintrc. Added basic tests with 2 failing jshint tests. Chang… Dec 15, 2014
README.md
appveyor.yml Fix appveyor config to check for node module cache dir before creation Sep 4, 2015
ecosystem.json
package.json

README.md

## SANE Stack [![Bountysource][bounty-badge]][bounty-badge-url] [![Gitter][gitter-badge]][gitter-badge-url]

Build Status Build status Dependency Status npm

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 frontend
  • sane 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 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/

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 dependencies
  • npm 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

You can’t perform that action at this time.