# Spotify-clone
## ❤️[Deployed with netlify link](https://spotify-clone-parthpatel.netlify.app/)
## 💚 Challanges that i have faced
### ✔️ How i created this with only 100 api limits of RapidApi
➜ Actually, i created almost 50 fake / bypassed accounts with the RapidApi and
➜ during code [**Api key Handling Strategy**] , if there is 429 ( client error ) then it moved to another Api key to fetch the same data (like recursive function) .
➜ Sorry but I am not going to reveal method of getting unlimited fake gmails to bypass the signup route.
➜ You can also find code in `src > components > utils > api.js` = [direct link](https://github.com/parthmern/Spotify-clone/blob/master/src/components/utils/api.js)
➜ I know that i should add this sensitive data to the `.env` file but only you can understand the "Api key handling strategy" through code so that i have uploaded on same file insted of storing sensitive data in `.env` file.
### ✔️ Infinite scrooling Library
➜ It is not working with my project like the NEXT api fetching function is not hitting , i also tried to solve this but i was failed.
➜ So i decided to create my own "Infinite scrolling" fetaure.
➜ Reference video link - [techincal thapa](https://youtu.be/F51xUcV3uH0?si=lm2g47tZiW2X3Rg7)
https://github.com/parthmern/Spotify-clone/assets/125397720/59f1ff96-8350-4c7a-82d7-bc861f313304
## 💛 Check reviews on my Linkedin Post - [LINK-click here ](https://www.linkedin.com/posts/parthpatelreal_spotifyclone-reactjs-musicloversunite-activity-7114636432056459264-8xv6?utm_source=share&utm_medium=member_desktop)