Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Data Fetching #4

@DoodlingDev

Description

@DoodlingDev

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions