A Spotify web clone done with React for studying purposes.
This project uses the Spotify Web API to retrieve the necessary data and was bootstrapped with Create React App.
First, you'll need a Spotify Client ID, then you can run the following:
$ git clone https://github.com/Mooyeee/spotify-clone-frontend
$ cd spotify-clone-frontend
$ npm install
Now you need to safely pass the Spotify Client ID to the React app in order for it to authorize the API calls needed. To do that, just create a .env
file in the root directory and set the following variable:
REACT_APP_CLIENT_ID="YOUR_CLIENT_ID"
Now you're ready to go. To run the app just run, in the root directory:
$ npm start
and visit http://localhost:3000 or the IP indicated in the terminal.