App that consumes the API from Open Weather Map and show 16 days forecast.
Get your Open Weather's API Key on this link and export an environment var
called OPENWEATHER_KEY
.
$ export OPENWEATHER_KEY=YOUR_API_KEY
$ bundle install
$ rails s
filter: {
city: String # Name of the city
}
{
id: Int, # ID(dt) from forecast_daily
city: String # Name of the city
}
The app uses RSpec to run the automated tests. Run the following command:
rake spec