Kevin Mok
df9547293f
Changed all existing pages to use a dark bg
7 years ago
Kevin Mok
9875cbeb68
Moved script to create genre graph to static file
- sorted artists in bar by most to least, bottom to top
- wrap x-axis labels by bar width
- increased track name length (program crashed on a track name)
7 years ago
Kevin Mok
f71ba20116
Fixed bars not being at right height
Avoided artist breakdown overflowing total tracks in genre by only
adding artists while running tally is less than total.
7 years ago
Kevin Mok
162b2dad37
Setup color range for bars
Included a script to generate attractive colors.
7 years ago
Kevin Mok
2342e6ef49
Initial setup of stacked bar chart for genres
Bunch of issues with it that still need to be fixed.
7 years ago
Kevin Mok
7b968c9d86
Include artist breakdown in get_genre_data
7 years ago
Chris Shyi
3e35e52f45
Retrieve audio feature data from frontend
Added user_secret field to User. Set up a basic JavaScript function for
querying audio feature data from the frontend.
7 years ago
Chris Shyi
9d43048067
Clean up views.py and utils.py further
views.py and utils.py were cleaned up further to remove any obsolete usage of
library_stats.
7 years ago
Chris Shyi
797115e9cb
Clean up utils.py to use database
Uses of the original library_stats dictionary in utils.py were either removed or commented out, replaced by the saving of models into the database.
7 years ago
Kevin Mok
79aedc655d
Trying to pass artist data from db to frontend
7 years ago
Chris Shyi
b735887899
Bug fixes
Server crashes as of the last commit, now fixed.
7 years ago
Chris Shyi
e5151a1b92
Add user_data.js
Script will be used to obtain data from server for D3 consumption.
7 years ago
Chris Shyi
f52e88f83a
Start implementing AJAX
Problem with cross origin requests, need to do more research.
7 years ago
Kevin Mok
96b7bfb2bb
Display genre counts on user_data page
Able to pass dict info successfully from backend to webpage.
7 years ago
Chris
c0fe7a61af
Implement User Login
Closes #6 . User can now log in and be redirected to a data display
page(needs to be fleshed out).
7 years ago
Chris
ef5c3b2647
Implement User Authorization
Completed step 1 of the Authorization Code Flow documented by the
Spotify API.
7 years ago