Spotify But Bop-ier
You will need your own:
- Client ID
- Client Secret
- Active Spotify Subscription
- Clone the root project with
git clone https://github.com/victornguyen75/bopify-react.gitin the terminal - Pull all submodules recursively with
npm run pulloryarn pullin the terminal - Update all submodules recursively with
npm run updateoryarn updatein the terminal
- Install the dependencies for each submodule with
npm run installoryarn installin the terminal - Obtain the Spotify Client ID and Client Secret from https://developer.spotify.com/
- Add the following environment variables for both the client and server modules.
Your /client.env file should contain:
REACT_APP_CLIENT_ID=your_own_client_id_from_the_Spotify_API_and_docs
Your /server.env file should contain:
REDIRECT_URI=http://localhost:3000
CLIENT_ID=your_own_client_id_from_the_spotify_API_and_docs
CLIENT_SECRET=your_own_client_secret_from_the_spotify_API_and_docs
- In one terminal, navigate to
/client - Run
npm startoryarn startin the terminal - In a separate terminal, navigate to
/server - Run
npm startoryarn startin the terminal - Open a new tab on your browser for
localhost:3000 - If you wish to debug the
/server, runnpm run devoryarn devin the terminal
Follow the discussion to see how two different Spotify Clone Applications compare between ReactJS and SvelteJS.