Skip to content

cdelpone/sweater_weather

Repository files navigation

Table of contents

Overview

Backend repo utilizing a service-oriented architecture for a fictitious front end application to plan road trips. The app will allow users to see the current weather as well as the forecasted weather at the destination.

Exposes an API to satisfy requirements from a front end application.

This project is based off Turing's Sweater Weather project. More details can be found here

Setup

  1. Fork and Clone the repo
  2. Install gem packages: bundle install
  3. Setup the database: rails db:{drop,create,migrate}
  4. Run bundle exec rspec to test

API Setup

  1. Sign up for API keys from the following:
  • MapQuest Geocoding API here
  • MapQuest Directions API here
  • OpenWeather One Call API here
  • Unsplash here
  1. Set-up Figaro: bundle exec figaro install
  2. Navigate to /config/application.yml
  3. Paste the following code and replace 'YOUR-API-KEY' with your respective credentials:
MAPQUEST_KEY: 'YOUR-API-KEY'
OPEN_WEATHER_KEY: 'YOUR-API-KEY'
UNSPLASH_KEY: 'YOUR-API-KEY'

Endpoints

Endpoints

Technologies

Versions

  • Ruby 2.7.2
  • Rails 5.2.5

Development

Atom Figaro Git Github Markdown PostgreSQL Postman Ruby on Rails Faraday

Languages

ActiveRecord Ruby

Testing

Pry RSPEC Shoulda Matchers Simplecov VCR

Development Principles

OOP TDD MVC REST

Contributors

LinkedIn

Github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published