mirror of https://github.com/CrimsonTome/tldr.git
25 lines
397 B
Markdown
25 lines
397 B
Markdown
# sails
|
|
|
|
> Sails.js is a realtime enterprise level MVC framework built on top of Node.js.
|
|
> More information: <https://sailsjs.com>.
|
|
|
|
- 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}}`
|