Skip to content

miamollie/plantnow

Repository files navigation

Plant It Now

Netlify Status

Uses GEOip lookup and the Climate zone API along with data from ABC gardens to determine what is best for you to plant in your garden right now :)

Live now at: https://www.whatshouldiplant.today/

GEOip lookup

Using free: https://freegeoip.app/json/

Climate API

http://climateapi.scottpinkelman.com/ Takes a lat and long and returns a koppen_geiger_zone http://climateapi.scottpinkelman.com/api/v1/location/40.8539645/14.1765625

Graphql API

plant -> get a plant's data by name climate -> all plants that can be planted in a climate zone by month

Http->https API

Uses this hack to upgrade http apis to https by proxying through netlify as redirects. Required because the climate api in use has not published a HTTPS version

todo

  • cache results
  • proper error handling; needs lots of attention; this.didEncounterError(error)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published