Skip to content

vinigmoraes/ifood-playlist-challenge

Repository files navigation

IFood Challenge

Rest Api responsible for receive city name or coordinates and produce Spotify Playlist given city temperature.

CircleCI codecov

Requirements

For building and running the application you need:

Env variables

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>>

Executing requests

Run in Postman

Running with docker

./gradlew build && docker-compose up --build

Testing

./gradlew test

Deployment

Application is configured to every push to master execute deploy automatic.

Built With