1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/sails.md
2016-01-28 15:43:20 +08:00

354 B

sails

Sails.js is a realtime enterprise level MVC framework built on top of Node.js.

  • Start Sails:

sails lift

  • Create new Sails project:

sails new {{projectName}}

  • Generate Sails API:

sails generate {{name}}

  • Generate Sails Controller:

sails generate controller {{name}}

  • Generate Sails Model:

sails generate model {{name}}