Step 1
Create separate file to store functions which call back end APIs. Write 1 of these files for each directory/piece of functionality. The API calling functions do not need to handle errors - error handling can be left to the caller.
Step 2
Create a file of the same structure and functions which returns mock data. This will allow us to test the front end components while the necessary API is not yet done.
Step 1 Create separate file to store functions which call back end APIs. Write 1 of these files for each directory/piece of functionality. The API calling functions do not need to handle errors - error handling can be left to the caller.
Step 2 Create a file of the same structure and functions which returns mock data. This will allow us to test the front end components while the necessary API is not yet done.