issues
search
Tysuiku
/
Staream
1
stars
0
forks
source link
Backend Routes
#5
Open
PedroKim
opened
1 year ago
PedroKim
commented
1 year ago
Backend Routes
[ ] Contains the following sections: HTML, API Endpoints(Backend)
[x] Each route has a description
[ ] API Endpoint routes contains wildcard variables written in
snake_case
[ ] Routes does not contain superfluous routes
[ ] Have API routes that will allow the front end to get all info it needs and does not have unneeded routes:
probably doesn't need a
GET likes
api endpoint because that info comes through the post show
Comments
[ ] rename your page as "Backend Routes"
[ ] missing HTML section. Refer to Bluebird wiki to see which details are needed.
[ ] multiple resources routes title should be plural and singular resource route title should be singular.
[ ] non-nested route wildcard should just be
:id
[ ] all wildcards should have ":" in the front
[ ] missing
session
routes
[ ] for
reviews
routes, getting reviews can be part of show route for fetching individual game information.
[ ]
cart
route should be changed to
cart_items
[ ] patch and delete requests need wildcard to know which entity you are trying to update.
[ ] should add a route for deleting cart items.
Backend Routes
snake_case
GET likes
api endpoint because that info comes through the post showComments
:id
session
routesreviews
routes, getting reviews can be part of show route for fetching individual game information.cart
route should be changed tocart_items