mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 03:17:58 +01:00
commit
9206f19446
1 changed files with 23 additions and 0 deletions
23
pages/common/sails.md
Normal file
23
pages/common/sails.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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}}`
|
Loading…
Reference in a new issue