This repository and Docker image contains the backend service used for our Spotify Playlist Web App which is the result of an exam assignment at the DHBW university in Friedrichshafen, Germany.
Its only purpose is to deliver information from the Spotify Web API to the client. This means, this package is just being used as a dockerized microservice, running on our AWS EC2 instance.
To use it, run:
npm run start
Please notice, that two environment variables are needed!
SPOTIFY_CLIENT_ID
contains the Client ID which you can get from the Spotify Application DashboardSPOTIFY_CLIENT_SECRET
is the secret key which you can also obtain from the dashboard
The docker image is pulled inside an Ansible playbook and runs on an EC2 instance on AWS that was previously created automatically. With traefik, it is able to receive external requests. We also use Cloudflare and its DNS proxy for SSL encryption to allow secure requests via HTTPS.