These are chat archives for quorrajs/quorrajs

26th
Dec 2016
Lalu Prasad Yadav
@kiranlalu123123_twitter
Dec 26 2016 10:35
Hi Team
Can you provide sample CRUD API Structure in Quorrajs?
Harish
@harishanchu
Dec 26 2016 11:49

@kiranlalu123123_twitter

Verb Path Action Route Name
GET /resource index resource.index
GET /resource/create create resource.create
POST /resource store resource.store
GET /resource/{resource} show resource.show
GET /resource/{resource}/edit edit resource.edit
PUT/PATCH /resource/{resource} update resource.update
DELETE /resource/{resource} destroy resource.destroy

@kiranlalu123123_twitter Please find more about it here: https://quorrajs.org/docs/v1/getting-started/controllers.html#restful-resource-controllers
FYI: You can quickly generate resource controllers in Quorra with the help of Quorra-CLI tool