fhkahin / Full-Stack-Project-Assessment

https://full-stack-project-group2.netlify.app/
ISC License
1 stars 2 forks source link

List video recommendations #27

Open fhkahin opened 4 months ago

fhkahin commented 4 months ago

From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture/Full-Stack-Project-Assessment#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