This project shows the forecast for the week, predicting how good the sunsets will be based on weather factors.
On load, the app tries to use the user's current location, and if that fails defaults to Santa Monica. You can enter in any location to look at the sunset prediction there.
Deployed on Heroku at sunset-predictor.herokuapp.com
The Google Maps Javascript API was used, specifically the Geocoding Service.
The Open Weather Map One Call API and Air Pollution API were used for the weather forecasts.
- Tweak formula that rates sunsets, currently super harsh
- Stylize further, sunset animation or something
- Make a database to store data and location ranges that were accessed to reduce API calls
- Fix narrow width of search area mobile