Giter VIP home page Giter VIP logo

apples-and-oranges's Introduction

apples 🍎 & oranges 🍊

Authors

  • Justin Chen
  • Julia Guo
  • Jian Huang
  • Jessica Zheng
  • Emily Zhuang

Contents

  1. The Problem
  2. Our Solution
  3. Our Codebase
  4. How to Run

Video

Learn more about our project here!

The Problem

The Bigger Picture

About 11% of all the greenhouse gas emissions that come from the food system could be reduced if we stop wasting food. In the US alone, the production of lost or wasted food generates the equivalent of 37 million cars’ worth of greenhouse gas emissions. (source)

In the United States, food waste is estimated at between 30–40 percent of the food supply. (source)

On the Individual Scale

  • People think they will eat everything they buy, but they cannot
  • People have little time in the day to cook fresh meals
  • People are busy with work, children, etc.
  • People often forget about what they have in the fridge
  • Fridges and pantries can disorganized
  • Food storage is often times first-in-last-out, and there is little space

Our Solution

Overview

apples & oranges aims to solve the larger issue of climate change by providing the tools for users to reduce individual waste. Not only is it geared to climate-enthusiasts who want to minimize their waste, but also everyday consumers that wish to save money. apples & oranges appeals to a wide user base, thereby reducing more food waste regardless of the user's interest in reducing climate change.

Fridge/Pantry

The interface allows users to conveniently keep track of all of their food. The Fridge sorts food items so that the user can quickly see the "high-priority" items that will need to be consumed soon. Adding, viewing, editing, and deleting food items is simple to use and requires minimal effort.

Analytics

The Analytics page gives users insight on their waste and impact on the climate. Users are able to see commonly wasted foods and high-impact foods purchased.

Community Initiative

The Community page enables users to quickly offer items to neighbors and friends. Not only does this minimize the user's food waste, but also inspire a collective call for change in reducing greenhouse gas emissions.

Our Codebase

/apples-and-oranges
  \____ /mobile-app
          \____ /src
                  \____ /screens
                /ios
                  \____ /Pods
                /android
                /node_modules
  \____ /server-app
          \____ /foodServer.js
          \____ /foodStore.json
          \____ /node_modules

How to Run

1. Clone the repository

  1. In terminal: git clone https://github.com/EEZhuang/apples-and-oranges-2020.git

2. Install dependencies

3. Run the Server

To set up and launch the server application, from a terminal:

  1. Go to the server-app directory of the cloned repo.
  2. Install the dependencies: npm install.
  3. Launch the server application locally or deploy to IBM Cloud:
    • To run locally:
      1. Start the application: npm start.
      2. The server can be accessed at http://localhost:3000.
    • To deploy to IBM Cloud:
      1. Log in to your IBM Cloud account using the IBM Cloud CLI: ibmcloud login.
      2. Target a Cloud Foundry org and space: ibmcloud target --cf.
      3. Push the app to IBM Cloud: ibmcloud app push.
      4. The server can be accessed at the URL shown in the console (routes) after the app successful uploads and starts (for example, https://solution-starter-kit-disasters-2020-server-random-route.bluemix.net).

4. Run the Mobile Application

To run the mobile application, from a terminal:

  1. Go to the mobile-app directory.
  2. Install the dependencies: npm install.
  3. Go to the ios directory: cd ios.
    1. Install pod dependencies: pod install.
  4. Return to the mobile-app directory: cd ../.
  5. Launch the app in the simulator/emulator: npm run ios

apples-and-oranges's People

Contributors

eezhuang avatar jessicayzheng avatar julia-guo avatar justinbchen avatar lmxcc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.