Skip to content

Spotify playlist generator based on genres and sub-genres

License

Notifications You must be signed in to change notification settings

dchicasduena/genrify

Repository files navigation

GENRIFY

https://genrify-app.herokuapp.com

Spotify playlist generator based on genres and sub-genres

Spotify NodeJS MongoDB

Features

Installation

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 installto 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.

Usage

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

Credits

Our project uses Chart.JS, Bootstrap, and it uses the Bootstrap Cover Template. The CSS for the background is from CodePen