Coder Social home page Coder Social logo

sails's Introduction

Sails.js logo

Sails.js is a web framework that makes it easy to build custom, enterprise-grade Node.js apps. It is designed to resemble the MVC architecture from frameworks like Ruby on Rails, but with support for the more modern, data-oriented style of web app development. It's especially good for building realtime features like chat.

Installation   NPM version

With node installed:

# Get the latest stable release of Sails
$ sudo npm install sails -g

######Upgrading from v0.9? Be sure and check out the v0.10 upgrading guide.

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

Generate a REST API:

ScreenShot

Compatibility

Sails is built on Node.js, Connect, Express, and Socket.io.

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-- plus you'll be able to use WebSockets to talk to your API, and vice versa.

The ORM, Waterline, has a well-defined adapter system for supporting all kinds of datastores. Officially supported databases include MySQL, PostgreSQL, MongoDB, Redis, local disk, and local memory. Community adapters exist for CouchDB, neDB, SQLite, Oracle, MSSQL, DB2, ElasticSearch, Riak, neo4j, Amazon RDS, DynamoDB, Azure Tables, and RethinkDB; for various 3rd-party REST APIs like Quickbooks, Yelp, and Twitter, including a configurable generic REST API adapter; plus some eclectic projects.

Powered by MySQL                                

Issue Submission

Make sure you've read the issue submission guidelines before opening a new issue.

Sails is composed of a number of different sub-projects, many of which have their own dedicated repository. If you suspect an issue in one of Sails sub-modules, you'll usually find its repo on the organization page. Click here to search/post issues in this repository.

Feature Requests

See the Trello board to view/discuss our roadmap and request features.

Contribute

See the contribution guide.

Support

Need help or have a question?

Please don't use the issue tracker for support/questions.

Links

Team

Sails is actively built and maintained by Balderdash (@balderdashy), a realtime web & mobile studio, with the help of these contributors:

Mike McNeil Cody Stoltman Scott Gress Greg Thornton Zoli Kahan
Mike McNeil Cody Stoltman Scott Gress Greg Thornton Zoli Kahan

Balderdash designs/builds scalable Node.js apps for startups and enterprise customers. After building a few apps and taking them into production, we realized that the Node.js development landscape was very much still the Wild West. Over time, after trying lots of different methodologies, we decided to crystallize all of our best practices into this framework. I hope it saves you some time :)

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.

image_squidhome@2x.png

githalytics.com alpha

sails's People

Contributors

mikermcneil avatar sgress454 avatar zolmeister avatar dcbartlett avatar particlebanana avatar xdissent avatar colinwren avatar techpines avatar ghernandez345 avatar danielfttorres avatar vicapow avatar rwoverdijk avatar kasperisager avatar psobot avatar reecelewellen avatar ndhoule avatar obrienmd avatar irlnathan avatar ciaranmaher avatar ameenahmed avatar dasher avatar tedkulp avatar pjpoirson avatar mattlgy avatar marionebl avatar lwansbrough avatar greeze avatar jmealo avatar t3chnoboy avatar benrudolph avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.