gfa-cc-after / Pet-Clinic-GilmoreDevs

Pet clinic project made by group 2
https://frontend-production-e146.up.railway.app/
GNU General Public License v3.0
2 stars 0 forks source link

We should decide which frontend http client to use #56

Closed markkovari closed 2 months ago

markkovari commented 3 months ago

We are using fetch and axios in different pages/components. This might lead to inconvenient inconsistencies, we should pick one and stick with it.

And by the way if we create an "api" which is one module (place) with the requests, it will be easier to change/replace later.

deepanshu2711 commented 3 months ago

We can create a folder called api in frontend and export all required data fetching logic from there . We should stick with axios as it is easier to implement and more efficient i guess

can you assign this work to me ?

markkovari commented 3 months ago

Hey @deepanshu2711 appreciate your reaction and proposal, although this is a class group assignment and have to decline your offer. Have a good day and keep up being proactive

Hsbalazs commented 2 months ago

We use axios generally.