https://github.com/dysbulic/weather
Simple app to display weather info
https://github.com/dysbulic/weather
Last synced: 2 months ago
JSON representation
Simple app to display weather info
- Host: GitHub
- URL: https://github.com/dysbulic/weather
- Owner: dysbulic
- Created: 2017-07-21T20:21:22.000Z (almost 8 years ago)
- Default Branch: dev
- Last Pushed: 2017-07-25T10:32:22.000Z (almost 8 years ago)
- Last Synced: 2025-02-03T23:57:31.784Z (4 months ago)
- Language: Ruby
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exercise:
The purpose of this exercise is to gain a better understanding of how you approach a more complicated problem. Documenting your design decision is a plus.
Create an application that will track current weather measurements for a given set of zip codes.
## Store the following data at a minimum:
* Zip code
* General weather conditions (e.g. sunny, rainy, etc.)
* Atmospheric pressure
* Temperature (in Fahrenheit)
* Winds (direction and speed)
* Humidity
* Timestamp (in UTC)## There is no output requirement for this application, it is data retrieval and storage only.
* The application should be able to recover from any errors encountered.
* The application should be developed using a TDD approach. 100 % code coverage is not required.
* The set of zip codes and their respective retrieval frequency should be contained inconfiguration file.
* Use the Open WeatherMap API for data retrieval (https://openweathermap.org)# Usage
* To load files: `rake load:zipcodes[test/fixtures/files/zips.txt]`
* To update data: `rake update:locations` which may be run by cron for regular updates