issues
search
shank35
/
TubeYou
1
stars
0
forks
source link
Backend Routes
#5
Open
aminbabar
opened
1 year ago
aminbabar
commented
1 year ago
Backend Routes
[x] Contains the following sections: HTML, API Endpoints(Backend)
[x] Each route has a description
[x] API Endpoint routes contains wildcard variables written in
snake_case
[x] Routes does not contain superfluous routes
[x] 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
aminbabar
commented
1 year ago
the following routes are superfluous:
GET /api/users/:videoId/videos
GET /api/comments
For likes, your routes refer to unlikes and dislikes. You only have a likes table on the backend so only have routes for your likes table.
Backend Routes
snake_case
GET likes
api endpoint because that info comes through the post show