List End Point:
- GET (url)/api/todo/detail?id=2
- GET (url)/api/todo/list
- POST (url)/api/todo/create
- PATCH (url)/api/todo/update?id=2
- DELETE (url)/api/todo/delete?id=2
response example:
{
"errorMessage": null,
"result": {
"id": 2,
"title": "Roro Kidul",
"note": "Bikin Cerpen Roro Kidul Edited lagi"
},
"success": true
}
{
"errorMessage": "Todo Not Found",
"result": null,
"success": false
}
npm install
npm run serve
npm run build
npm run lint