Sails.js: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
sudo npm -g install sails
sudo npm -g install sails
</pre>
</pre>

Complément d'installation: [[Grunt]]


==First project==
==First project==

Revision as of 15:40, 23 August 2015

http://sailsjs.org/

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