- Justin Chen
- Julia Guo
- Jian Huang
- Jessica Zheng
- Emily Zhuang
Learn more about our project here!
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)
- 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
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.
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.
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.
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.
/apples-and-oranges
\____ /mobile-app
\____ /src
\____ /screens
/ios
\____ /Pods
/android
/node_modules
\____ /server-app
\____ /foodServer.js
\____ /foodStore.json
\____ /node_modules
- In terminal:
git clone https://github.com/EEZhuang/apples-and-oranges-2020.git
- Node.js https://nodejs.org/en/
- Watchman https://facebook.github.io/watchman/
- Xcode https://itunes.apple.com/us/app/xcode/id497799835?mt=12
- Cocoapods https://guides.cocoapods.org/using/getting-started.html
To set up and launch the server application, from a terminal:
- Go to the
server-app
directory of the cloned repo. - Install the dependencies:
npm install
. - Launch the server application locally or deploy to IBM Cloud:
- To run locally:
- Start the application:
npm start
. - The server can be accessed at http://localhost:3000.
- Start the application:
- To deploy to IBM Cloud:
- Log in to your IBM Cloud account using the IBM Cloud CLI:
ibmcloud login
. - Target a Cloud Foundry org and space:
ibmcloud target --cf
. - Push the app to IBM Cloud:
ibmcloud app push
. - 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).
- Log in to your IBM Cloud account using the IBM Cloud CLI:
- To run locally:
To run the mobile application, from a terminal:
- Go to the
mobile-app
directory. - Install the dependencies:
npm install
. - Go to the
ios
directory:cd ios
.- Install pod dependencies:
pod install
.
- Install pod dependencies:
- Return to the
mobile-app
directory:cd ../
. - Launch the app in the simulator/emulator:
npm run ios