This is a minimalistic Ruby on Rails application built using the following stack:
- ruby 3.4.8
- Rails 8.1.2
- Rails Hotwire/Turbo
- Sqlite 3
There are a couple of steps that you will need to follow before launching this app on your local machine.
This application assumes you have installed ruby 3.4.8 locally. To find out how to do this on your machine, visit https://www.ruby-lang.org/en/documentation/installation/
Next Steps
- Create your own .env in the root directory
- Create a free Geocode account and obtain an API key (see below)
- Create a free WeatherApi account and obtain an API key (see below)
- Install the API key in your .env
- Run
bundle installin the root directory to install dependencies - Run
rails serverto start the application
Contratulations 🎉 You are now running Weather Facts!
- Go to https://geocode.maps.co/ and create a free account
- An API key should be listed once your account is verified
- Modify the .env and modify the env adding
GEOCODING_API_KEY=yourapikeyhereto the file. - You're done!
- Go to https://www.weatherapi.com/ and create a free account
- An API key should be listed once your account is verified
- Modify the .env adding
WEATHER_API_COM_API_KEY=yourapikeyhereto the file. - You're done!
Here are some screenshots to demonstrate the functionality:
Many of the classes and modules are tested in addition to some low level controller testing. They are all passing!

This is a list of enhancements I would like to build out in the future
- Build out robust unit testing for the HomesController
- Re-design the UI to be more engaging using Tailwind.css
- Deploy the application to a cost effective rails server
- Provide a way to use the application in a deployed state as a mobile native application on iPhone and Android using Hotwire Native



