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


TODOs:
- Configure the request headers to always send the
Authorization header when the user is logged in to the backend API with every call.
- Configure the front-end to store the access/refresh tokens securely out of the local storage to avoid XSS attacks
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
TODOs:
Authorization headerwhen the user is logged in to the backend API with every call.