A Spotify inspired interface complete with playlist, album, artist, liked songs and library pages.
This is my most recent project, currently working on replicating the Spotify web player app using their API. This project is using Next.js for the front-end, deployed on Netlify, and uses node.js for the back-end, which handles the user authentication, this is deployed with Heroku.
The demo can be viewed here : https://spotify-helper-frontend.netlify.app/
-
Install Node.js from https://nodejs.org/en/
-
Clone both this repo https://github.com/troywebber/spotify-helper-frontend.git
-
Also Clone this repo https://github.com/troywebber/spotify-helper-backend.git
-
Open both repositories in the integrated development environment ( preferably Visual Studio Code)
-
Paste in the code below for both the repositories.
npm install
-
Register a Spotify App and add
http://localhost:3000/
as a Redirect URI in the app settings -
Create an
.env
file in the root of the project -
Use the envirement variables below for the back end deployment. you can recieve the CLIENT_ID and CLIENT_SECRET from your created application on the spotify dashboard
CLIENT_ID=XXXXX CLIENT_SECRET=XXXXX REDIRECT_URI=http://localhost:3000
- Run the command below for the Spotify front end repo
npm run dev
- Run the command below for the Spotify back end repo
npm run devStart
- If not automatically redirected on the browser, go to the following address.
http://localhost:3000
- Follow the login login prompts provided by spotify used for authentication.
- Troy Webber
- 1
- Various bug fixes and optimizations, initial user interface complete
- 0.1
- Initial Release
Inspiration, code snippets, etc.