Shyp's Sails Fork
This is Shyp's fork of the Sails.js project. We use Sails solely as an API, and we have removed support for many upstream features:
- Socket support
- Auto routes
- Support for any datastore besides Postgres
- Multiple validation errors for a single request (only one error is returned)
- Custom bootstrap in config/bootstrap.js
- Sails no longer clobbers the SIGTERM, SIGUSR2, and SIGINT handlers.
By limiting the feature set we hope to reduce the attack surface and ship something that's more reliable and predictable.
We'll read community error reports, issues and PR's, though it's unlikely that we'll have time to test and merge them.
We run tests on CircleCI. Here's an image showing whether the tests pass or fail.
$ npm install sails@git+https://github.com/Shyp/sails.git#v4.1.0
Your First Sails Project
Create a new app:
# Create the app $ sails new testProject
# cd into the new folder $ cd testProject # fire up the server $ sails lift
Sails controllers are compatible with Connect middleware, so in most cases, you can paste code into Sails from an existing Express project and everything will work.
The ORM, Waterline, has a well-defined adapter system for supporting Postgres.
This fork is actively built and maintained by the Shyp engineering team
MIT License Copyright © 2012-2014 Mike McNeil
Sails is built around so many great open-source technologies that it would never have crossed our minds to keep it proprietary. We owe huge gratitude and props to TJ Holowaychuk (@visionmedia) and Guillermo Rauch (@guille) for the work they did, as well as the stewards of all the other open-source modules we use. Sails could never have been developed without your tremendous contributions to the node community.