Commit Graph

15 Commits

Author SHA1 Message Date
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.
2018-06-09 21:30:26 -04:00
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.
2018-06-09 13:58:52 -04:00
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.
2018-06-08 18:45:16 -04:00
Chris Shyi
29ab115f91 Merge branch 'in-progress' of https://github.com/Kevin-Mok/spotify-lib-vis into in-progress 2018-06-07 22:15:11 -04:00
79aedc655d Trying to pass artist data from db to frontend 2018-06-07 21:48:38 -04:00
Chris Shyi
77662a6a5e Merge branch 'database' of https://github.com/Kevin-Mok/spotify-lib-vis into database 2018-06-06 20:46:40 -04:00
Chris Shyi
b735887899 Bug fixes
Server crashes as of the last commit, now fixed.
2018-06-04 22:17:31 -04:00
c17d318f7d Merge branch 'master' of https://github.com/Kevin-Mok/spotify-lib-vis into database
Removed some lines that prevented program from running.
2018-06-04 21:20:35 -04:00
Chris Shyi
3fdf3029e2 Merge branch 'database' of https://github.com/Kevin-Mok/spotify-lib-vis 2018-06-04 09:41:43 -04:00
Chris Shyi
e5151a1b92 Add user_data.js
Script will be used to obtain data from server for D3 consumption.
2018-06-04 09:38:38 -04:00
9fb37f0615 Wrote up proposed model design for database
Have not actually created any models yet.
2018-06-03 19:14:34 -04:00
Chris Shyi
f52e88f83a Start implementing AJAX
Problem with cross origin requests, need to do more research.
2018-06-03 16:04:26 -04:00
96b7bfb2bb Display genre counts on user_data page
Able to pass dict info successfully from backend to webpage.
2018-05-20 23:11:35 -04:00
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).
2018-05-13 22:51:52 -04:00
Chris
ef5c3b2647 Implement User Authorization
Completed step 1 of the Authorization Code Flow documented by the
Spotify API.
2018-05-11 21:18:42 -04:00