We have a file /src/constants/curatedList that is used to show the preselected tracks on the front page via the exported array. It was a fast way to store songs data in the beginning, but ideally we want to store these tracks in database and pull from that.
Implement database in Firebase real time database to store these songs
implement required apis and functions to pull from this list in react-app
Populate the songs using fetch data instead of curatedList file, and implement loader as appropriate
We have a file
/src/constants/curatedList
that is used to show the preselected tracks on the front page via the exported array. It was a fast way to store songs data in the beginning, but ideally we want to store these tracks in database and pull from that.curatedList
file, and implement loader as appropriate