Skip to content

Repository files navigation

GHBanner

Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/drive/1LH_-kLqeXvkonCSE4Qr0Ro5IXEkLbc47

Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev

🍳 PantryChef

Turn your leftover ingredients into delicious recipes.

PantryChef is a web app that helps you reduce food waste by generating recipe ideas from whatever's already in your pantry or fridge. Tell it what you have on hand, and it uses AI to suggest recipes you can make right now — no more wondering what to cook with those random leftovers.

🏆 Built for the GDG BPPIMT Hackathon — placed 3rd overall. Team: Code_Cubed

Features

  • 🥕 Input the ingredients you have on hand
  • 🤖 AI-powered recipe generation (via Google Gemini)
  • 📋 Clear, easy-to-follow recipe suggestions
  • 💾 Data persistence powered by Supabase
  • ⚡ Fast, modern frontend built with React + Vite + TypeScript

Tech Stack

  • Frontend: React 19, TypeScript, Vite
  • Icons: Lucide React
  • AI: Google Gemini API (@google/genai)
  • Backend / Database: Supabase
  • Deployment: Netlify

Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/Jit2005git/pantryChef.git
    cd pantryChef
  2. Install dependencies

    npm install
  3. Set up environment variables

    Create a .env.local file in the root directory and add your Gemini API key:

    GEMINI_API_KEY=your_api_key_here
    
  4. Run the app locally

    npm run dev

The app will be available at http://localhost:5173 (or the port Vite assigns).

Build for Production

npm run build

Preview the Production Build

npm run preview

Project Structure

pantryChef/
├── components/     # React components
├── services/       # API / business logic (e.g. Gemini, Supabase integration)
├── App.tsx         # Root application component
├── index.tsx       # Application entry point
├── types.ts        # Shared TypeScript types
└── vite.config.ts  # Vite configuration

Acknowledgements

This project was originally built via Google AI Studio as part of the GDG BPPIMT Hackathon.

License

No license specified yet — consider adding one if you plan to open this project up for contributions.

This is a app build with the help of vibe Coding for tghe GDG_BPPIMT Hackathon project We had registered 3rd rank in this Hackathon Team - Code_Cubed

About

recipe making app from left over foods

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages