Skip to content

jasonpyau/Spotify-Playlist-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Playlist Generator

Description:

Creates Spotify Playlist based on your inputs

Example Playlist: https://open.spotify.com/playlist/5r4ukuOgFXuqOEqkCQEbmM

Test it out yourself:

Link: https://spotify-playlist-generator.onrender.com/
Note that you will need to create your own Client ID & Secret until the app receieves a quota extension from Spotify.
Follow the directions here:
name

Demo:

SpotifyPlaylistDemoVid.mp4

Documentation:

  1. Spotify API: https://developer.spotify.com/documentation/web-api/
  2. JQuery: https://api.jquery.com/jquery.ajax/
  3. OAuth 2.0 PKCE: https://www.oauth.com/oauth2-servers/pkce/authorization-code-exchange/
  4. SHA-256 Conversion: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest#converting_a_digest_to_a_hex_string
  5. NodeJS: https://nodejs.org/en/
  6. Dependencies: Express, CORS, dotenv, Express-Rate-Limit, Needle
npm i express cors dotenv express-rate-limit needle

Contribute:

Create File named .env

CLIENT_ID = "YOUR_CLIENT_ID"
CLIENT_SECRET = "YOUR_CLIENT_SECRET"
REDIRECT_URI = "YOUR_REDIRECT_URI"

Replace with your ProxyAPI Link and App Link: ./SpotifyPlaylistFrontend/script.js

image