π·οΈ backlog for sprint 4
Full-Stack-Project-Assessment π
Setup e2e tests π Clone
Acceptance criteria
- All e2e tests for the project are passing
Guidance π§
Check the e2e-testing guide for steps on how to set up your
- π Week 4
- ποΈ Priority Stretch
- 𧩠Feature
- :framed_picture: Frontend
- π Backend
- βοΈ Setup
Store date created on new videos π Clone
Acceptance criteria
- When a user adds a new video, store the date and time they posted it in the database.
- The date created value is displayed in the frontend
Guidance π§
This might require a change to your database schema - you should make sure you can deploy this change without breaking existing videos, the same way the rating system was done.
Example
Check this example implementation to see how this feature could be implemented.
- π Priority Mandatory
- π Week 4
- 𧩠Feature
- :framed_picture: Frontend
- π Backend
Sorting the video recommendations π Clone
Description
When you return all of the videos from the /api/videos
endpoint your API should support an optional query parameter that will change the ordering of the data
/?order=asc
and
/?order=desc
Acceptance criteria
- When you receive
asc
the videos should be returned in ascending order by the number of votes. i.e. starting with the lowest number of votes. - When you receive
desc
the videos should be returned in descending order by the number of votes. i.e. starting with the highest number of votes. - If no parameter is passed, the order should be by ID.
- Users can select an ordering in the frontend
Example
Please check https://lvl499c--cyf-fsa-solution.netlify.app for an example solution of this level
- π Priority Mandatory
- π Week 4
- :framed_picture: Frontend
- π Backend