jmargrove / coffee-home

The coffee app provides predicted coffee yield data for any location in the world

Home Page:http://coffee-engine-web.s3-website-eu-west-1.amazonaws.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coffee Engine v2 - mobile application

New updated verion for ios and android...

the-coffee-app v1 - web application

The coffee app incorporates a state of the art eco-physiological model of coffee yield predictions allowing anyone to access coffee yield predictions from anywhere in the world. The app also alows the user to run simulations to discover whether thier farm could benift from an increase or decrease in shade conditions.

Why shade? Some coffee plantations can benifit from shade. As shade trees are an expensive longterm investment, our app give advice for farmers on this issue.

By running simulations we are also able to provide management advice for shade treatments.

The app is useful for coffee farmers and corporations to simulate shade management treatments before investing.

Please visit then web page to use the model. the-coffee-app webpage

steps:

  1. choose a location (locations within tropcial regions give most interesting predictions)
  2. enter in your management system.
  3. model the data - see how much coffee you produce compared to our model predictions.
  4. optimize for shade - run simiulations with different shade treatments and see you your farm could benifit from and increase or decrease in shade.

test all around the world.

Screen shots

Map Page User Input Results Optimise
mappage usersettings results optimised

Tech stack

The vast majority of the code is done in javascript es6. Frontend framework used was React and Redux. Google maps api was used to implement the mapping. Koa was used to implement the backend.

The app has been deployed entierly on amazon web services. The app is served on an s3 bucket. The server and the model are run on an ec2 instance.

To enable the model to calculate predictions anywhere, we use 10GB global environmental datasets stored in raster formats. We use AWS's Relational Database Service to store these using postgres / postGIS.

React redux R JS koa google-maps
reactredux redux R JS koa ggm

Contributors

Eric Rahn - developer of the model

James Margrove - full stack developer

About

The coffee app provides predicted coffee yield data for any location in the world

http://coffee-engine-web.s3-website-eu-west-1.amazonaws.com/


Languages

Language:TypeScript 63.4%Language:JavaScript 24.3%Language:CSS 6.0%Language:Objective-C 1.9%Language:HTML 1.4%Language:Ruby 1.0%Language:Java 0.9%Language:Starlark 0.8%Language:Shell 0.3%Language:R 0.1%