The front end will need to grab data from the backend via the API.
Set up a mechanism that encapsulates the data fetching. Using it should be as easy as importing the module and calling a method, abstract away the api call.
Out of scope for this issue: Using the fetching module in the React component. Just make calls and handle responses into data that can be consumed later.
Dev notes
- Promises and async/await both available
- Don't forget to test!
- The needs are small now, but consider the possibility of needing to add a library or other mechanism when deciding on an implementation.