This is the the back end of the Discoverfy iOS app which can be found here. It is a Node.js server with a MongoDB database.
You will need to have a Spotify Developer Account which can be created here.
After cloning, bundle install
. You will also need to create a .env
file to store your Spotify keys, redirect uri's, and encryption key. The encryption key is a random string to which the Spotify token will be encrypted against to be stored in the database. Place the following in the .env
file.
CLIENT_ID='YOUR_CLIENT_ID'
CLIENT_SECRET='YOUR_CLIENT_SECRET'
CLIENT_REDIRECT_URI='YOUR_REDIRECT_URI'
DISC_REDIRECT_URI='YOUR_APP_REDIRECT_URI'
ENCRYPTION_SECRET='YOUR_ENCRYPTION_SECRET'
Issues are tracked here.
Arthur Tonelli - Feel free to check out my website here or my GitHub here.
- rorygilchrist - Great repo about the Spotify token swap here.
- Jesper Svennevid - Another resource about the Spotify token swap here.