#Instagram Hit Algorithm ##aka Sunset Watcher
https://sunset-calculator.herokuapp.com/
A simple web app that will tell you whether your current location should expect an extra special sunset or not.
##User Story
- A user will be able to create an account that will be tied to their initial location.
- Look up the current expectation for the sunset at their location
- Store that entry, tied to their userId, to a collection that can be viewed whenever
##Use Case The user will first be prompted with creating a new account or logging into an existing one. Next they will be taken to their profile page, which will have all previous lookups they have done. From their they can remove old entries or look up current sunset expectations. At the results page the user can look up each data set to see what fed into the result.
##Approach
- Set up MVC
- Set up simple server with data routes
- Research and setup API's
- Setup each API fetch
- Make data routes to display json response
- Set up weatherAlgorithm to parse data
- Render a specific response to data results page
- Front end refining
- CSS Styling
##Implementation Using 7 weather API's the application averages out several different values to create a simple heuristic value for cloud coverage and air quality. These two values are calculated from weighted inputs from each API and then averaged to create the percent chance of a sunset.
- At this stage the sunset is simply calculated from cloud coverage percentage and air quality index
##Soon to be released features
- Use SunsetWx data as validation
- Dates tied to entries
- Show user how long till next expected sunset
- Allow user to edit their default location
- Enter different Longitude and Latitude.
- Use Google Maps API to have user click on location.
- Have user search by city, town, or county.
- Have each data set be a customized page so user can inspect various weather API's
- Have input value from each API displayed on results page
- Average Sunset over time at location
- Add Key to explain icons/value importance
##Technologies Used
- Express
- Javascripts, HTML, CSS
- API's
- Aeris
- Air Now
- Dark Sky
- Forecast Gov
- Open Weather
- Sunset Time
- Sunset Wx
- Weather Underground
##Assistance from
- GA instructors @gittheking @jasonseminara @trevorpreston @rapala61 @irwintsay for helping troubleshoot
- User authentication was supplied and demo'd to us from instructors. Minor editing was done to tailor the user authentication for this application, but the groundwork came from the instructors.
- Sunset Wx Team for allowing me access to their API and being the inspiration for this project.
#Inspiration: This is a slimmed down implementation of https://sunsetwx.com/ and is scaled for mobile use and simple user interaction.
##Credit