Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List video recommendations #462

Open
2 tasks
Tracked by #461
Dedekind561 opened this issue Apr 3, 2024 · 0 comments
Open
2 tasks
Tracked by #461

List video recommendations #462

Dedekind561 opened this issue Apr 3, 2024 · 0 comments
Labels

Comments

@Dedekind561
Copy link
Contributor

Dedekind561 commented Apr 3, 2024

Acceptance criteria

  • On page load, the website should display a list of video recommendations
  • For each video recommendation:
    • It should show the video's title
    • If you click on the title it it should redirect you to the YouTube page for that video

Guidance 🧭

API access from React

Since we are using a monorepo, the API is accessible on the same domain as the frontend. This means you can use calls like fetch("/api/videos") to call the endpoint you created in your backend. You don't need to worry about CORS requirements either.

Checkout this cheat sheet to help you with the types of requests you'll need to be use with fetch: https://www.freecodecamp.org/news/fetch-api-cheatsheet/

Example

Check https://lvl130--cyf-fsa-solution.netlify.app for an example implementation of this issue

@Dedekind561 Dedekind561 added the 📅 Week 1 Assigned during Week 1 of this module label Apr 3, 2024
@Dedekind561 Dedekind561 changed the title Display videos in the frontend List video recommendations Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant