You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture#462
Acceptance criteria
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
The text was updated successfully, but these errors were encountered: