Inspiration

We were inspired to create PantryPal because of our collective frustration with meal planning and food waste. We often found ourselves staring into our fridge, wondering what to cook with what we had on hand. This frustration led us to envision a solution that would simplify the meal planning process and reduce food waste by utilizing the power of technology and our computing skills.

Learning Experience

While developing PantryPal, we learned a lot about teamwork, problem-solving, and leveraging APIs effectively. Integrating the Gemini API into our website was a significant learning curve, but it provided us with the valuable opportunity to deepen our understanding of API usage and data manipulation.

Building PantryPal

PantryPal is a web application we built using React, NextJS, and NodeJS and powered by the Gemini API. The primary function of our website is generating recipes based on the user's available ingredients, time constraints, and meal preferences. Here's how we built it:

  1. User Interface: We designed an engaging and user-friendly interface for the recipe generation to excite people to try new recipes.

  2. User Input: Users input the ingredients they have in their fridge or pantry, select the amount of time they have to cook and specify the type of meal they would like (e.g., breakfast, lunch, dinner).

  3. API Integration: We integrated the Gemini API to fetch recipe data based on the user's input parameters.

Challenges Faced

While building PantryPal, we encountered several challenges, including:

  • API Integration Complexity: Integrating the Gemini API posed challenges related to authentication, data parsing, and error handling. Overcoming these hurdles required thorough documentation reading, experimentation, asking of questions, and collaboration.

  • User Experience Design: This project was our first experience designing with Figma and designing a project from scratch, which deepened the experience further, as we gained some perspective of designers.

Conclusion

PantryPal represents the culmination of our passion for hacking, innovation, and culinary exploration. By harnessing the power of the Gemini API, we've created a tool that empowers users to make informed decisions about their meals, fosters creativity in the kitchen, and promotes sustainable cooking practices.

Built With

Share this project:

Updates

Submission history