Open gorterd opened 4 years ago
Okay, I've made the corrections to the best of my ability from what I understood from your suggestions.
Great! Haven't checked the revisions yet, but if there were any suggestions I wasn't clear on, definitely let me know
Great! Haven't checked the revisions yet, but if there were any suggestions I wasn't clear on, definitely let me know
yessir
Nice job the on the sample state and backend routes, Lawrence! Here's my feedback --> checkmarks next to should do's, suggestions are just bullet points.
SAMPLE STATE
ui
top level slice of state, which should include at leastloading
(comments section has a spinning bar while they are loading) andmodal
(upload video) propertiesBACKEND ROUTES
api/videos
instead ofapi/results
; I'd suggest just making home page of videos and video search both the same route (index) and inside your controller checking if there is a query; alternatively, you could make a custom collection route (e.g.api/videos/search
)GET /api/videos/:id/comments/:id
--> this route seems unnecessary (fetching just one comment)likes
resource: so the endpoints would be/api/videos/:id/likes
and/api/comments/:id/likes
api/likes/:id
); if you end up combining the likes/dislikes for comments and videos under one table, you wouldn't need separate routes for deleting a like on a comment vs a like on a video