hypermine-bc / hypermine-bc/adonis-rest-template
Add unified Response Helper
Open
enhancement
good first issue
help wanted
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
A response handeller, that could give a unified response across controllers.
EX:
```
{
"data":[{"id":1}],
"error":[],
"status_code":200,
"message":"I am updated"
}
```
```
{
"data":[],
"error":[{"error":[{"balg":""}]}],
"status_code":500,
"message":"Validation error"
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.