ParrotStone / Tabib-Web-Application

the Tabib web application
https://tabib.netlify.app
MIT License
1 stars 2 forks source link

Fix the error handling(messaging) and the way remote requests are made to the backend API #1

Open ParrotStone opened 4 years ago

ParrotStone commented 4 years ago

Add code to support the UI when the backend API either crashes, or respond with an error not planned for(unexpected error).

Here are some snippets of code as a starter guides

image


image


TODOs:

ParrotStone commented 4 years ago

Additional code snippet

image

ParrotStone commented 4 years ago

Completed the part about sending the Authorization header automatically with every request after the auth process. The UI can handle crashes at the back-end API but still needs more testing.