- Rails App
- Consume data via OpenWeatherMap API
- PostgreSQL database
- Rspec test suite
- Error tolerance
- Weather data written to database
- User goes to home page
- User sees form with zip code and a submit button
- User enters zip code
- User clicks submit button
- Page displays current weather conditions
- Page additionally displays previous 5 weather measurements w/ zipcode
- Zip code
- General weather conditions (e.g., sunny, rainy, etc.)
- Atmospheric pressure
- Temperature (F)
- Wind (direction + speed)
- Humidity
- UTC Timestamp
-
Setup instructions: This assumes you are set up with Rails, Ruby, PostgreSQL
- Run bundle to install dependencies
bundle
- Create database
rails db:create
- Run test suite
rspec spec
||rake
- Start Server
rails s
- Run bundle to install dependencies
-
You can also check out the Heroku instance here
-
TravisCI build info available here
-
Code is available on github here