Sails JS


Sails is the most popular MVC framework for Node.js. It is designed for building practical, production-ready Node.js apps in a matter of weeks - not months.

Pages SailsJS Generator

Pages comes with a command line tool to generate SailsJS boilerplate using one simple command:

Requirements

  • NodeJS
  • Grunt

How to generate

Step one

Using your terminal navigate to the diretory boilerplates in your downloaded package


Step two

Run the following command on your terminal, this will download the dependencies for the generator to work and only required once

npm install

Step Three

Type the following command to generate your expressjs boilerplate for pages framework installed

grunt build:sails

To give your app name type it as the last argument

grunt build:sails:my app name here