Shyp's Fork of Sails (many upstream features are not present)
Clone or download
Pull request Compare This branch is 81 commits ahead, 2400 commits behind balderdashy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
errors
lib
test
.editorconfig
.gitignore
.jshintrc
.npmignore
CONTRIBUTING.md
LICENSE.md
MODULES.md
Makefile
README.md
circle.yml
package.json

README.md

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:

  • Grunt
  • Blueprints
  • Socket support
  • Auto routes
  • Support for any datastore besides Postgres
  • Connect/connect-flash
  • Sessions
  • CSRF
  • 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.
  • Skipper

By limiting the feature set we hope to reduce the attack surface and ship something that's more reliable and predictable.

Contribute/Project Direction

We'll read community error reports, issues and PR's, though it's unlikely that we'll have time to test and merge them.

Tests

We run tests on CircleCI. Here's an image showing whether the tests pass or fail.

With node installed:

$ 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

Lift sails:

# cd into the new folder
$ cd testProject

# fire up the server
$ sails lift

Compatibility

Sails is built on Node.js, and Express

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.

Team

This fork is actively built and maintained by the Shyp engineering team

License

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.