AntonioMrtz / SpotifyElectron

Spotify Electron is a cross-platform music streaming desktop app made with Electron-React frontend and Python-FastAPI-MongoDB Backend. The goal is to reproduce the original Spotify functionality while adding new ones like uploading songs.
https://antoniomrtz.github.io/SpotifyElectron_Web/
Other
39 stars 11 forks source link

HTTP Status codes for Frontend #153

Closed AntonioMrtz closed 1 month ago

AntonioMrtz commented 3 months ago

Description

We want to replace all hardcoded HTTP Status checks on frontend for an Enum.

Context

HTTP Status codes are spread all over the frontend code and unify them will help tracking where a code is actually being used.

How to do it

Testing

AntonioMrtz commented 3 months ago

HttpStatus codes for Frontend

AntonioMrtz commented 1 month ago

Dismissed because of the use of OpenaAPI client that abstracts HTTP requests