Serverless weather API on Google Cloud Functions
I’ve had this weather app running on Heroku for a number of years using the Dark Sky API and I’ve decided to replace it. I decided to replace it for three reasons, the Dark Sky API is shutting down soon, my current app is a little slow and I want to try something new. The weather API is shutting down because they were recently acquired by another company. My current app is slow because the Heroku compute instance ‘goes to sleep’ when inactive and therefore takes a handful of seconds to spin up again, which all things considered is pretty neat but I can do better....