livesite: https://api-roundup-frontend-angular.herokuapp.com/
###API end points github repos: Python API: https://github.com/RyanSPando/API-Language-Roundup-python
Java API: https://github.com/RyanSPando/API-Language-Roundup-java
React front end: https://github.com/RyanSPando/API-Language-Roundup-front-end-react
The API language round up attempts to make a simple crud route for a donut. The API should return the properly formatted JSON for the route in question. Post and Delete routes should return the new entry. Delete route should return the deleted entry.
donut |
---|
id |
name (text) |
topping (text) |
price (int) |
Route Name | Method | Example URL | Route |
---|---|---|---|
donuts index | GET |
/donuts |
/donuts |
donut get | GET |
/donuts/1/ |
/donuts/:id |
donut edit | PUT |
/donuts/1/edit |
/donuts/:id/edit |
donut create | POST |
/donuts |
/donuts |
donut destroy | DELETE |
/donuts/1/delete |
/donuts/:id/delete |