Sweater Weather is a backend rails application built to satisfy wireframes presented by a frontend team working to create a road trip planning weather app.
This application designs endpoints, retrieves a weather forecast for a designated city (current, hourly, & daily), retrieves a background image for a designated city, registers & logs-in a user, and retrieves directions and travel time for a given destination. The formatted responses are in JSON.
git clone git@github.com:sarynm12/sweater-weather.git
cd sweater_weather
bundle install
rails db{create,migrate}
- Add your own API keys to the application.yml file (OPEN_WEATHER_API_KEY, UNSPLASH_API_KEY, MAPQUEST_API_KEY)
bundle exec rspec
to run the test suite
Ruby 2.5.3 Rails 5.2.4
In the command line run
$ bundle exec rspec
All tests should be passing.