tldr/pages/common/sails.md

24 lines
349 B
Markdown
Raw Normal View History

# sails
> Sails.js is a realtime enterprise level MVC framework built on top of Node.js.
2016-01-13 14:04:46 +03:00
- Start Sail:
`sails lift`
2016-01-13 14:04:46 +03:00
- Create new Sails projec:
`sails new {{projectName}}`
2016-01-13 14:04:46 +03:00
- Generate Sails AP:
`sails generate {{name}}`
2016-01-13 14:04:46 +03:00
- Generate Sails Controlle:
`sails generate controller {{name}}`
2016-01-13 14:04:46 +03:00
- Generate Sails Mode:
`sails generate model {{name}}`