Inspiration
As a team, we discovered the Edumam API and felt like it would be interesting to use in a project. This coupled with the possibilities of OpenAI's API and the environment challenge, we thought that this project would be a great way to tackle an under talked about problems facing the environment.
What it does
The user is presented with an interactive kitchen layout, with the sole use being the fridge. Once clicked, the fridge displays the user's inventory. This inventory includes all the food the user inputted, carrying a max of 16 items. These items include information such as calories, amount (grams) and expiry date.
With all these items, the user can select various items to create a recipe. Using GPT, we come up with recipes that utilize all the ingredients selected, providing the step-by-step process and quantities needed.
How we built it
We used ReactJS to create the front end, which included displaying the kitchen, recipe and interactions with the user's inventory. We store data about the food in a MongoDB database. We used OpenAI's API in conjunction with Edumam's API to generate the specific recipes with the selected ingredients.
Challenges we ran into
We didn't encounter too many problems with this project, it was surprisingly smooth sailing. The main difficulties came from using GitHub and the problems we had committing. Whether it be problems with gitignore or dependencies not being properly pushed and of course, merge conflicts, git was definitely our biggest challenge this time.
Accomplishments that we're proud of
As a duo, our idea utilized a lot of great technologies, and we were able to realize our vision we set out with before starting this project. With the art style staying consistent, programs working as expected, and smooth development throughout, we are really proud of ourselves for having a great development experience.
What we learned
We learned how to integrate various API's within React, and how to format data responses from those API's into presentable ways for our front end.
What's next for Food Guardian
The future is bright for Food Guardian. We plan on adding logins for this project so we can properly track user progress. As well, we hope the develop more exciting ways to displays information. One idea currently is to use a health bar/ time for display expiry date. We hope to improve on all the ideas we presented for this project!

Log in or sign up for Devpost to join the conversation.