A simple app for tagging songs/albums/etc. in Spotify. Log in with your Spotify account, no account setup needed.
Before you can run this locally, you'll need to create a Spotify developer app that you can use to auth with the Spotify API. Go to the Spotify Developer Dashboard and create a new app with any name and description. For the redirect URI, put:
https://localhost:3000/api/oauth/callback
Then, note the client ID and secret from the new app page.
Create a file in the repo root named .env
. Add these contents:
ROCKET_SPOTIFY_CLIENT_ID=<copy from Spotify>
ROCKET_SPOTIFY_CLIENT_SECRET=<copy from Spotify>
Make sure to do this before running the Docker stack. If you change the .env
file while the stack is running, you'll need to restart the whole stack to get Docker to load the new environment variables and pass them to the API container.
You can run this with docker-compose
docker-compose up
Then it will be accessible at https://localhost:3000
. Note the https!
The UI uses Relay, which requires its own compiler step to compile GraphQL queries into TypeScript type definitions. When running the docker-compose stack, the UI container will automatically recompile your queries on changes. If you want to recompile without running the docker-compose stack though, you can run npm run relay:watch
in a terminal window.
Deployed through Keskne. Images are automatically built and pushed on every push to master.