Weather Wise is a Backend Project that that provides weather information for a specific area. It offers current weather conditions and a five-day forecast, as well as determines the route to a desired destination and the corresponding weather conditions upon arrival. The application integrates with Weather and MapQuest APIs to retrieve data location and weather data. It then creates endpoints in a new API to serialize and send the data to the front-end application.
- Expose an API that aggregates data from multiple external APIs
- Expose an API that requires an authentication token
- Expose an API for CRUD functionality
- Determine completion criteria based on the needs of other developers
- Test both API consumption and exposure, making use of the VCR mocking tool
- Ruby 3.1.1
- Rails 7.0.4
- Fork and Clone the repository
$ git clone [email protected]:JTaylor28/weather_wise.git
- Navigate to the directory
$ cd weather_wise
- Install Gem Packages
$ `bundle install`
- Update Gem Packages
$ `bundle update`
- Run the Migrations
$ rails db:{drop,create,migrate,seed}
- Setup Figaro Gem
$ bundle exec figaro install
-
Navigate to each API link and apply for an api key
-
Navigate to
config/application.yml
and add your api keys in the following format:
MAPQUEST_API_KEY: <YOUR MAPQUEST API KEY HERE>
WEATHER_API_KEY: <YOUR WEATHER API KEY HERE>