Skip to content

Take's a users spotify data after inputting credentials to "sort" them into a Hogwarts house using a simple sorting algorithm that takes into account the various characteristics of each Harry Potter house based on their top genres, artists and tracks. Fullstack application that uses Django for backend and React for frontend.

Notifications You must be signed in to change notification settings

parikhsachi/hogwarts-sorting-hat-spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hogwarts-sorting-hat-spotify

This application retrieves a user's Spotify data and then uses the data to sort them into a Hogwarts house based on their music taste. This algorithm considers the distinct traits associated with each Harry Potter house as well as the user's top genres, artists, and tracks to determine which house the user belongs to. This is a full-stack application that uses Django for the backend and React for the frontend.

Setup Instructions

Create a Spotify Developer Account:

If you don't already have one, sign up for a Spotify Developer Account at the Spotify Developer Dashboard: https://developer.spotify.com/dashboard/

Create a New App:

Once logged in to the Spotify Developer Dashboard, create a new application by clicking on the "Create an App" button. Provide the required details for your app.

Retrieve Client ID and Client Secret:

After creating the app, you'll be given a Client ID and Client Secret. These are crucial for authenticating your application with the Spotify API.

In the sorting_hat/credentials.py file, replace the Client ID and Client Secret placeholders with your own.

Configure Redirect URI:

Configure the Redirect URI in your Spotify app settings to http://127.0.0.1:8000. This is the URL where the user will be redirected after they grant access to your app.

Start Web Server

python manage.py runserver

About

Take's a users spotify data after inputting credentials to "sort" them into a Hogwarts house using a simple sorting algorithm that takes into account the various characteristics of each Harry Potter house based on their top genres, artists and tracks. Fullstack application that uses Django for backend and React for frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published