A cummilative project consisting of work in my AP Computer Science Principal Class. Acts as a personal blog and storage for various coding projects such as AI Flappy Bird.
I didn't start the backend server, fixed it by running python3 main.py on the flask server.
Bug 2:
Fetch was linked to the wrong url, fixed it by linking it to the deployed backend website.
Bug 3:
Login was of the wrong type, fixed it by changing it from a GET request to a POST request
Bug 4:
CORS error on the create function, fixed it by allowing cors on the backend and added in a heading.
Bug 5:
Audio was not linking on the frontend properly, fixed It by ensuring the code was fetching the right id for the song
Bug 6:
Backend gave the wrong audio file link to the front end, fixed it by changing the database and making sure the audio file was correct
Bug 7:
Wasn't grabbing the clicked songs id when redirected to a new page, fixed it by making a new function to only display the specfic clicked songs details
Bug 8:
Wasn't storing the clicked songs audioURL, fixed it by adding the url to local storage and retrieving it when redirected to the new page
Bug 9:
Allowed the user to redirect to the song page on the song page itself when it wasn't supposed to be a feature, fixed it by removing the function that played when that button was clicked
Bug 10:
CORS issue when trying to call any of the songs data, fixed it by adding in the header to the songs.model code that allowed it to transfer data.
Bug 1:
I didn't start the backend server, fixed it by running python3 main.py on the flask server.
Bug 2:
Fetch was linked to the wrong url, fixed it by linking it to the deployed backend website.
Bug 3:
Login was of the wrong type, fixed it by changing it from a GET request to a POST request
Bug 4:
CORS error on the create function, fixed it by allowing cors on the backend and added in a heading.
Bug 5:
Audio was not linking on the frontend properly, fixed It by ensuring the code was fetching the right id for the song
Bug 6:
Backend gave the wrong audio file link to the front end, fixed it by changing the database and making sure the audio file was correct
Bug 7:
Wasn't grabbing the clicked songs id when redirected to a new page, fixed it by making a new function to only display the specfic clicked songs details
Bug 8:
Wasn't storing the clicked songs audioURL, fixed it by adding the url to local storage and retrieving it when redirected to the new page
Bug 9:
Allowed the user to redirect to the song page on the song page itself when it wasn't supposed to be a feature, fixed it by removing the function that played when that button was clicked
Bug 10:
CORS issue when trying to call any of the songs data, fixed it by adding in the header to the songs.model code that allowed it to transfer data.