Sails.js
Jump to navigation
Jump to search
Sails makes it easy to build custom, enterprise-grade Node.js apps. It is designed to emulate the familiar MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with a scalable, service-oriented architecture. It's especially good for building chat, realtime dashboards, or multiplayer games; but you can use it for any web application project - top to bottom.
Get Started
http://sailsjs.org/get-started
Installation
sudo npm -g install sails
Complément d'installation: Grunt
First project
sails new testProject cd testProject sails lift
visit http://localhost:1337
Projects from Sails.js in Action
Récupérer les exemples du livre Sails.js in Action
git clone https://github.com/irlnathan/brushfire-ch3-end.git git clone https://github.com/irlnathan/brushfire-ch4-start.git git clone https://github.com/irlnathan/brushfire-ch4-end.git git clone https://github.com/irlnathan/brushfire-chp6-start git clone https://github.com/irlnathan/brushfire-ch5-end.git git clone https://github.com/irlnathan/brushfire-chp6-end.git git clone https://github.com/irlnathan/brushfire-chp7-end.git
cd brushfire-ch3-end npm install sails lift
visiter http://localhost:1337
et recommencer avec les autres exemples.