This server is necessary for Spotify authentification (see the main repo).
It uses the Spotify Authorization Code Flow to link the user's Spotify account to the app, indefinitely, using a refreshable token.
-
Set up a Spotify developer account and create a new app (see the main repo)
-
Set up a Firebase account and create a new app and add a Firestore database to it (see the main repo)
-
Replace the placeholders in the
.env
file with your Spotify credentials -
Generate a new key file called
symbiose_credentials.json
for the Firebase Admin SDK service account at the root of the folder -
npm install
to install all dependencies
node server.js
to start the server