-
Notifications
You must be signed in to change notification settings - Fork 8
Create a rest
Alexey Gordeyev edited this page Jan 19, 2014
·
19 revisions
How to create Controller via CLI TrinteJS MVC
format: trinte -g rest [rest name] [field(s)]
$ trinte -g rest v1#Post active:bool title content:text created:date author
Generated files, path like that:
.
|
`-- app
|-- models
| `-- Post.js
`-- controllers
`-- v1
`-- PostsController.js