Rails application that uses Service-Oriented Architecture (SOA) that provides backend framework to call multiple API's and return formatted data.
- Ruby 2.5.3
- Rails 2.5.4.3
-
Consume multiple external APIs
-
Build API's that return JSON responses
-
Refactor code for better code for improved organization/readability
-
Utilize workflow: small commits and keep similar functionality on one branch
-
Utilize code that adheres to the four pillars of OOP
-
- Ruby 2.5.3
- Rails 5.2.4.3
bundle install
rails db:create
rails db:migrate
rails s (runs your serve)
- Now you can send requests via http://localhost:3000/
- This is an API only app (no views)
- You can also access the production API at sweater-weather-lriff.herokuapp.com
- Run with $bundle exec rspec
- All tests should be passing
https://unsplash.com/join https://openweathermap.org/api (register for One Call API) https://business.mapquest.com/developer-apis-sdks (For this application we will be using the geocoding api)
Run figaro install
- this command will create the file application.yml
- add all keys to this file
- i.e MAPS_API_KEY:
- Background image for a city
- User registration and login
- Route including travel time
- Current weather
- Weather at time of arrival