You must have docker installed. Enter your Spotify API Client ID in .env file and add redirect uri in spotify api console.
git clone https://github.com/hayspat/react-spotify-youtube.git
cd react-spotify-youtube/docker
sudo docker build -t myimage .
sudo docker run -d --name mycontainer -p 2000:80 myimage
cd ..
npm install
npm start
This is a spotify clone that uses youtube as backend. Playlists, categories etc all fetched from Spotify API. Only tracks are played by youtube.
Python(FastAPI) is used at backend. It uses beatifulsoup module to fetch track url from youtube and passes to react-player.
As simple as searching track artist + track title and returning the first result from youtube.
Google limits the usage of api for free users. It's a workaround for it and i must say it works pretty well.