ufosc / GatorWiki

A student-managed wiki for the the Department of CISE at the University of Florida
MIT License
4 stars 4 forks source link

Create API Call Files in Frontend with Mock Data Option #19

Open awhigham9 opened 3 years ago

awhigham9 commented 3 years ago

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.