🏷️ backlog for sprint 3

Full-Stack-Project-Assessment πŸ”—  

Backend unit tests πŸ”— Clone

Backend unit tests πŸ”—

Acceptance criteria

  • All backend tests in api.test.js are passing

Guidance 🧭

Check out the testing guide to setup your backend unit tests

  • πŸ“… Week 3
  • 🏝️ Priority Stretch
  • 🎯 Topic Testing
  • πŸ”Œ Backend
  • πŸ”Œ Backend
  • πŸ“… Week 3
  • 🏝️ Priority Stretch
  • 🎯 Topic Testing
Enable frontend unit tests on pull request πŸ”— Clone

Enable frontend unit tests on pull request πŸ”—

Acceptance criteria

  • Frontend unit tests run on every new pull request

Guidance 🧭

Check Testing guide for steps to make your frontend unit tests run on every pull request.

  • πŸ“… Week 3
  • 🏝️ Priority Stretch
  • 🎯 Topic Testing
  • :framed_picture: Frontend
  • πŸ“… Week 3
  • 🏝️ Priority Stretch
  • 🎯 Topic Testing
  • :framed_picture: Frontend
Frontend unit tests πŸ”— Clone

Frontend unit tests πŸ”—

Acceptance criteria

  • All frontend unit tests are passing

Check the Testing guide to set up your frontend tests

  • πŸ“… Week 3
  • 🏝️ Priority Stretch
  • 🎯 Topic Testing
  • πŸ”Œ Backend
  • πŸ”Œ Backend
  • πŸ“… Week 3
  • 🏝️ Priority Stretch
  • 🎯 Topic Testing
Update videos endpoint πŸ”— Clone

Update videos endpoint πŸ”—

Acceptance criteria

  • There is an endpoint available for updating video ratings
  • The endpoint accepts an appropriate HTTP method
  • The endpoint has an appropriate URL
  • The endpoint updates the ratings of videos in the database
  • πŸ“… Week 3
  • πŸ”Œ Backend
  • πŸ”Œ Backend
  • πŸ“… Week 3
User story: Allow rating of videos πŸ‘ πŸ‘Ž πŸ”— Clone

User story: Allow rating of videos πŸ‘ πŸ‘Ž πŸ”—

Description

You pass around your project among your friends, and they like it better than the first version you showed them last week. They are enthusiastic and want to let you know which videos they also liked, and which they didn’t! Implement ratings - allowing other users to give your videos a thumbs up or a thumbs down!

User story πŸ‘©πŸ½β€πŸ’»

Required issues 🎫

  • #473
  • #474
  • #475
  • πŸ“… Week 3
  • πŸ“… Databases
  • πŸ‘©πŸ½β€πŸ’» User story
  • πŸ“… Week 3
  • πŸ“… Databases
  • πŸ‘©πŸ½β€πŸ’» User story
Video voting buttons πŸ”— Clone

Video voting buttons πŸ”—

Acceptance Criteria

  • Each video displays its current rating in a visually clear manner (e.g., thumbs up /thumbs down icons, numeric display).
  • Users can increase the rating of a video (“thumbs up”).
  • Users can decrease the rating of a video (“thumbs down”).
  • A user’s rating actions are recorded and persist across sessions.

Example

Check this example Video voter example to see how this issue could be implemented.

  • πŸ“… Week 3
  • 🧩 Feature
  • :framed_picture: Frontend
  • 🧩 Feature
  • πŸ“… Week 3
  • :framed_picture: Frontend