This repo contains the output files for the Spotify Clone with respect to the React JS Tutorial for Beginners. All credits go to CleverProgrammer YT Channel
LIVE Demonstration: Click Here
- Clone repo on your local system
git clone https://github.com/CrypticMuze/spotify-clone.git
- Open a terminal on your localhost and install the dependencies
npm install
- Go to Spotify's Developers Portal and login to your dashboard
https://developer.spotify.com/dashboard/
-
On your dashboard create a new application and provide necessary details. Next open project overview.
-
Under edit settings, provide the redirect URL of the site after spotify authorizes the user. Ususlly this is the URL of the hosted site (Netlify/Firebase). You can enter http://localhost:3000/ initially as it is the local server of the react application.
-
Now copy the Client ID provided on the dasboard.
Goto spotify-clone\src\spotify.js
#In the spotify.js file (line 5) make the following changes to the file -->
const clientId = ""; # Add your personal Client ID key here
- Open a terminal on your localhost and build the React app.
npm build
- Deploy the production build of the app in the same terminal.
npm run build
You're good to go! HealthHub should open on the live server.
To contribute to this project:
- Fork this repo
- Make desired changes after cloning it on your local system.
- Generate a pull request.
Note: Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.