Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add database #11
Currently, the application does not have a database. This prevents the addition of new features like saving songs, making recommendations based on saved songs, and building playlists. Additionally, the application was saving information in localStorage, which was fine when this was just a side project in development, but will not work in production.
Additionally, I did not have a development & a production node environment set up, so I included that as part of this PR.
I've added a development and a production database with a users table to start. I've also added the ability to findOrCreate a user upon authentication with Spotify's API. I think this gets me started collecting enough user data that I can begin to add on to it.
I've also begun storing the sessionID so that I can pull access token data accurately, rather than relying on localStorage like I have been doing.
Open Questions and Pre-Merge TODOs
Links to blog posts, patterns, libraries or addons used to solve this problem