Skip to content

Backend Service for performing API calls to the Spotify Web API - used as a microservice for the web app

Notifications You must be signed in to change notification settings

The-Bug-Busters/spotify-playlist-backend

Repository files navigation

🤖 spotify-playlist-backend

Backend Service Push

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.

🛠️ How it works & Usage

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 Dashboard
  • SPOTIFY_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.

👷 Authors

About

Backend Service for performing API calls to the Spotify Web API - used as a microservice for the web app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published