Usage:
- Register for an account by going to /register. This will create a username and password and store them in the dao.
- This will redirect to /login (because we're not smart enough to log you in immediately after registering).
- After logging in, the site will check if you have an access/refresh token from Spotify. If not, it will prompt the oAuth flow with Spotify.
- The result of that is a refresh and access token which are then stored in the spotify_token_dao and determine our app's idea of being auth'd.
- Next, navigate to /reddit, which will:
- Query Reddit for the top 25 posts of r/listentothis
- Take those tracks and search Spotify for the most-related track
- Query Spotify for the user's Spotify ID which will be used for creating a playlist.
- Create a playlist for the user
- Fill the playlist with the found songs