Rest Api responsible for receive city name or coordinates and produce Spotify Playlist given city temperature.
For building and running the application you need:
OPEN_WEATHER_API_KEY=b77e07f479efe92156376a8b07640ced
OPEN_WEATHER_URL=http://api.openweathermap.org/data/2.5/weather
SPOTIFY_CLIENT_ID=<<your client id>>
SPOTIFY_CLIENT_SECRET=<<your client secret>>
./gradlew build && docker-compose up --build
./gradlew test
Application is configured to every push to master execute deploy automatic.