https://genrify-app.herokuapp.com
Spotify playlist generator based on genres and sub-genres
- We use the Spotify API to create the playlist and add the songs.
- The songs come from two data sets: the Million Playlist Dataset and the Spotify Song Dataset.
- We use Chart.JS to visualize the data of each playlist,
First clone the repository like you normally would, then go to project folder.
git clone https://github.com/dchicasduena/playlist-generator.git
Once inside the folder you will need to create a .env file containing you client id and secret, more informaiton here
For macOS and Linux machines
# inside the iteration two folder
touch .env
nano .env
For Windows
# inside the project folder
# save a new file with the contents on a text editor,
# then click save type as all files, and save with .env extension
Then fill the .env file with the CLIENT_ID and CLIENT_SECRET, it should look like this:
CLIENT_ID='vgiwny1af6b60sjvswxfesb6nbpza7h2' # add your app id here
CLIENT_SECRET='evch3hr5g5zbrwocnv5lxq0n9loyr6m7' # add your app secret here
Now you can run the command npm install
to download all the dependancies you need for the project.
To import the list of songs in the .csv file you need to run the command node import.js
, this command only needs to be run once during setup.
As of version 0.0.2
Run the command node app.js
This will tell you where the app is running in the terminal. Go to the specified address and then follow the steps the application says. Now check your account on the Spotify app or web player to see your new playlist
Our project uses Chart.JS, Bootstrap, and it uses the Bootstrap Cover Template. The CSS for the background is from CodePen