Skip to content

Microservice for My Solar Garden that provides current and forecasted weather details so that a user can adjust their garden care accordingly.

Notifications You must be signed in to change notification settings

My-Solar-Garden/weather_microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

My Solar Garden - Weather Microservice

Overview

My-Solar-Garden Weather Microservice is a Sinatra Application meant to function as an weather API for My Solar Garden, an application for tracking the soil health of a garden as well as measuring a users' carbon impact.

Using this application will allow us to send up to date weather information and 7 day weather forecasts for users' gardens based on those gardens' geolocations (Latitude and Longitude). We collect this data using the Open Weather API

Repos

For access to all the repos that make up the Service Oriented Architecture of this application please visit our origanization page.

Learning Goals

  • Consume an API
  • Allow that data to be consumed by a rails backend application
  • Refactor code to be more maintainable and to closely follow the pillars of OOP

Local Setup

  1. Fork and Clone the repo
  2. Visit https://openweathermap.org/guide to sign up for an API key
  3. Read through Open Weather documentation for how to format the API call.

API Endpoint

All weather data should be gathered from The One Call endpoint

Versions and Gems

  • Figaro run Bundle Exec Figaro Intall after putting this in your gemfile
  • Faraday

Contributors

About

Microservice for My Solar Garden that provides current and forecasted weather details so that a user can adjust their garden care accordingly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published