- Problem
- About Plantry
- Our SDGs Goal
- Technology Stack
- Demo Video
- Design
- How to Start
- How to Run on Local
- Contributors
According to the United Nations World Food Programme(WFP), around 1.3 billion tons of food is wasted globally every year without being used as food. That's enough to feed nearly 800 million people who suffer from hunger.
Wasted food is a major contributor to greenhouse gases, with methane emitted as it decays in landfills having 80 times the greenhouse effect of carbon dioxide. According to the Food and Agriculture Organization of the United Nations(FAO), greenhouse gases from waste in the production and consumption of food account for 8-10% of global greenhouse gas emissions. The life cycle of food already emits a lot of carbon when it's produced, but when it's disposed of, additional carbon is released.
Consumers buy more food than they can actually eat, or store food incorrectly, resulting in food being thrown away before it is consumed. Not only does consumer overbuying create waste, it also contributes to producer overproduction.
Food is an essential part of human life, so it is essential that consumers consume it responsibly.
To solve this problem, Plantry focuses on the consumer as one of the many contributors to the problem.
With Plantry, consumers can manage food inventory and record how the food is consumed (discarded, ingested, shared).
The data is visualized in graphs to help consumers be more aware of food waste, and to help them buy the right amount of food when they make future purchases, taking into account their previous consumption. It also helps consumers learn how to store food properly to avoid throwing it away when it's still edible, and encourages them to use use-by dates instead of sell-by dates to ensure that food is safe to consume for a longer period of time.
Reminder notifications are provided for food items that are nearing their expiration date to help consumers eat food within the expiration date.
Improving food consumption habits among consumers can reduce greenhouse gas emissions from food waste by reducing unnecessary food waste and preventing overproduction by producers.
Proper storage and utilization of food can also help maintain a healthy lifestyle.
git clone https://github.com/GDSC-SWU/2024-Plantry-SolutionChallenge.git
Use this as a reference to set environment variables
https://developer.android.com/tools/variables
Giraffe Version or higher recommended
Android Studio Giraffe Download Link
Pixel XL API 34 recommended
base.url="http://34.47.86.239:8080"
ai_base.url="http://34.47.86.239:8000"
Store JSON file google-service.json
containing the key on /Android/app
If you can't log in, please do the process below:)
1. Enter `gradlew signalingReport` in the terminal window.
2. Press `ctrl + enter` or `command + enter` to execute the command.
3. please send your sha1 key `[email protected]`.
4. After receiving a reply, please try logging in again.
The server is deployed, but if you want to run it on local, do the following:
# DATABASE
SPRING_DATASOURCE_URL={YOUR_MYSQL_DATABASE_URL}
SPRING_DATASOURCE_USERNAME={YOUR_MYSQL_DATABASE_USERNAME}
SPRING_DATASOURCE_PASSWORD={YOUR_MYSQL_DATABASE_PASSWORD}
# Redis
SPRING_DATA_REDIS_HOST={YOUR_REDIS_DATABASE_HOST}
SPRING_DATA_REDIS_PORT={YOUR_REDIS_DATABASE_PORT}
SPRING_DATA_REDIS_PASSWORD={YOUR_REDIS_DATABASE_PASSWORD}
# Google OAuth
GOOGLE_OAUTH_CLIENT_ID={YOUR_GOOGLE_OAUTH_CLIENT_ID}
# JWT
JWT_SECRET_KEY=some-random-secret-key-plantry-9876
JWT_ISSUER=gdsc
# Server profile
PROFILE=local
2. Store the service account JSON file firebase_account_file.json
containing the key on server/plantry/src/main/resources/firebase
Refer to the docs
Firebase DOCS
Yusun Choi | Yerim Lee | Yehan Shin | Eunji Jung |
PM Server Developer |
Client Developer | UX/UI Designer | AI/ML Developer |