An API project for road trip weather in Ruby on Rails
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
This is a solo project for the Turing School of Software and Design. In it, we learned how to build a backend that connects multiple APIs into one project. Includes user registration and login, weather details, trip information, and a picture of the location. Simply clone down and run on localhost to get started!
API keys can be requested from:
MapQuest
Open Weather
Unsplash
After cloning the repo:
bundle install
- Install the Figaro Gem
- Place your API keys in /config/application.yml (as mapquest_api: weather_api: and background_api:)
- Run
rails db:{create,migrate}
- Run
rails s
- API endpoints are:
GET /api/v1/forecast
GET /api/v1/backgrounds
POST /api/v1/users
POST /api/v1/sessions
POST /api/v1/road_trip
- Ruby
- Rails
- PostgreSQL
- RSpec
- Postman
Chloe Price - @chloell5 - [email protected]
Project Link: https://github.com/chloell5/rails-engine
- Thank you Turing, and your wonderful instructors!