chen-gloria / leftover-to-recipe

๐Ÿฆ„ Build Together AI Hackathon 2024 Canberra Winning team ๐Ÿ† - ๐ŸŒŽ Make the world better by turning your leftover ingredients into delectable meals, minimising food waste, and simplifying meal decisions!
https://leftover-to-recipe-380643b48bf7.herokuapp.com/
MIT License
3 stars 0 forks source link
aihackathon

๐Ÿ‰ ๐Ÿซ’ ๐Ÿฅ• ๐ŸŒฝ ๐ŸŒถ๏ธ ๐Ÿซ‘ ๐Ÿฅ’ ๐Ÿฅฌ ๐Ÿฅฆ ๐Ÿง„ ๐Ÿง…   โฎ•โฎ•  ๐Ÿœ ๐Ÿฒ ๐Ÿฅ˜ ๐Ÿ› ๐Ÿฅ—

Leftover to Recipe
Build Together AI Hackathon 2024 - Building for a Better World

๐Ÿ“ข Turn your leftover ingredients into delectable meals, minimize food waste, and simplify meal decisions with Leftover to Recipe, your ultimate kitchen companion! -- Leftover to Recipe Team

Background

According to United Nations News, with 783 million people going hungry globally, an equivalent of one billion meals are wasted every day. According to the UN Environment Programmeโ€™s Food Waste Index Report 2024, 1.05 billion tonnes of food are wasted annually. This waste occurs across retail, food service, and household. Most of the worldโ€™s food waste comes from households, totalling 631 million tonnes.


Source: Food Waste Index Report 2024, UN Environment Programme, https://wedocs.unep.org/handle/20.500.11822/45230

Our project is dedicated to tackling the issue of households food waste while empowering individuals to manage their food consumption efficiently. By leveraging AI technology, we aim to create a sustainable solution that benefits both people and the environment.

Project Description

Purposes

Our project is designed with a dual purpose: to reduce food waste and help individuals keep track of the food they consume and have in their inventory. By utilising AI image recognition and data management, our app offers a comprehensive solution for smarter food management.

Logo


Our Logo

Deployment to heroku

https://leftover-to-recipe-380643b48bf7.herokuapp.com/

or try to scan


QR Code for live

Demo video

Use Command + Click(in MacOS) or Ctrl + Click(in Linux and Windows) to open and watch this video in a new page:

Watch the demo

๐ŸŒŽ How does this make the world better?

By addressing the critical issue of food waste and promoting efficient food management, our project aims to build a better, more sustainable world. We believe that with the right tools and awareness, we can make a significant impact on both individual lives and the environment.

Current Features:

Upcoming Features:

Technical stack: What is it & how to run this app in local?

1. What is in the stack?

We use Symfony, a PHP framework using for website app development for front end and back end development.

2. How to run this app in your local?

First of all, you do need a OpenAI Key ๐Ÿ”’ to utilise the API. ๐Ÿ‘‰ How to apply for a OpenAI Key?

Secondly, run this app up:

Here are the steps to follow:

// Linux wget https://get.symfony.com/cli/installer -O - | bash

// Windows scoop install symfony-cli


- Step 4: Run `composer install`
```bash
composer install

# Result

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.

# .... 

Generating autoload files
114 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Run composer recipes at any time to see the status of your Symfony recipes.

# [OK] means the packages have been installed

Executing script cache:clear [OK]
Executing script assets:install public [OK]
Executing script importmap:install [OK]
php bin/console secrets:set OPEN_AI_KEY

 Please type the secret value:
 > 

 [OK] Secret "OPEN_AI_KEY" encrypted in "config/secrets/dev/"; you can commit it.

#  To view the secrets that you just set
php bin/console secrets:list --reveal

------------- ------------------------------------------------------------ ------------- 
  Secret        Value                                                        Local Value  
 ------------- ------------------------------------------------------------ ------------- 
  OPEN_AI_KEY   "your-key"                
 ------------- ------------------------------------------------------------ ------------- 

Result

[OK] Web server listening
The Web server is using PHP FPM 8.3.6
http://127.0.0.1:8000



- Step 7: Visit `http://127.0.0.1:8000` or `http://localhost:8000/` to see the project