Skip to content

App that lets you play the samples of any song on Spotify (demo included). Uses React, Node, Express as well as Spotify and Genius API.

Notifications You must be signed in to change notification settings

bmulaw/samplesOnSpotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App that lets you play the samples of any song on Spotify

Tech Stack: Express, React, and Node

APIs: Spotify and Genuis Backend is hosted on Heroku and Frontend is to be hosted on GitHub Pages

Demo of the app:

Anytime you listen to a song on Spotify and you want to see its samples, click the "See Samples Below" button. You will be met with the songs that are sampled into the song, or were sampled by another song, or were interpolations/remix/cover of another song. You get the option to click and play those samples on the app allowing you to experience new music and enjoy the engineering behind the music you listen to.

Click picture to watch a video demonstration of the app on YouTube

To get the app running:

  1. make sure you have node.js installed (https://nodejs.org/en/)
  2. git clone this repo

Frontend (client folder)

  1. create a .env file in the root directory (same directory as the gitignore)
  2. go to spotify developer and create an app
  3. copy your client id and paste it in the .env file with a variable name CLIENT_ID
  4. go to genius api website, create an app with the website url/redirect uri as http://locahlost:3000
  5. copy the client secret and paste in the .env file with a variable name API_KEY

Rest of app

  1. from the terminal, cd into the client and the server folder to run npm install - this installs all dependencies.
  2. from the terminal, cd into the server folder, run npm run devStart
  3. from the terminal, cd into the client folder and run npm start to begin the app (will run on http://localhost:3000)

Will require having a Spotify account.

The app will ask you to sign in to Spotify and you can then search a song you want to listen to. Once you play that song, click on "Show Samples Below" button and the samples should show up on the page and you can then play them. You can click the same button "Hide Samples" to not display the Samples.

Inspired by: Web Dev Simplified (Engineer/YouTuber)

About

App that lets you play the samples of any song on Spotify (demo included). Uses React, Node, Express as well as Spotify and Genius API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published