-
-
Notifications
You must be signed in to change notification settings - Fork 354
Sorting the video recommendations #486
Copy link
Copy link
Open
Labels
🖼️ Frontend🏕 Priority Mandatory📅 Week 4Assigned during Week 4 of this moduleAssigned during Week 4 of this module🔌 Backend
Metadata
Metadata
Assignees
Labels
🖼️ Frontend🏕 Priority Mandatory📅 Week 4Assigned during Week 4 of this moduleAssigned during Week 4 of this module🔌 Backend
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
📋 Backlog
Description
When you return all of the videos from the
/api/videosendpoint your API should support an optional query parameter that will change the ordering of the dataand
Acceptance criteria
ascthe videos should be returned in ascending order by the number of votes. i.e. starting with the lowest number of votes.descthe videos should be returned in descending order by the number of votes. i.e. starting with the highest number of votes.Example
Please check https://lvl499c--cyf-fsa-solution.netlify.app for an example solution of this level