🌿 AI Garden Advisor

AI Garden Advisor is a free, beginner-friendly web app that helps users plan a smart spring garden with personalized plant suggestions, care tips, and timelines — all powered by Gemini AI.


🌟 Inspiration

As spring blossoms, millions are drawn to the idea of growing their own food or flowers — but don’t know where to begin. I wanted to build a tool that makes sustainable gardening accessible, smart, and simple for everyone. Whether you're a balcony gardener or managing a backyard, AI Garden Advisor helps you grow the right plants at the right time — with confidence.


🌱 What it Does

AI Garden Advisor takes 3 simple inputs:

  • 🌍 Location (for regional crop suitability)
  • 📐 Garden Size (balcony, small, medium, or large)
  • 🪴 Plant Type (vegetables, herbs, flowers, fruits, etc.)
  • Several Other Parameters too (Climatic Zone, Planting Time, Previous Crop etc.)

It then uses Gemini AI to return:

  • ✅ Best-suited plants for your garden
  • 🌸 Sowing and harvest timelines
  • 💧 Watering frequency
  • 🧑‍🌾 Difficulty level and care tips

All results are returned in a standardized, structured JSON format for clarity and ease of presentation.


🛠️ How We Built It

  • Built with React for a modern, clean frontend
  • Integrated Gemini API for AI-generated plant guidance
  • Hosted using Firebase Hosting for free and fast deployment
  • Used GitHub Copilot and Gemini Pro as coding assistants for speed and efficiency
  • Designed with mobile-first responsiveness in mind

🧱 Challenges We Ran Into

  • 🌍 Calibrating AI responses to ensure they’re regionally accurate
  • 💬 Formatting Gemini's output into consistent, usable JSON
  • 🧪 Testing and tweaking plant suggestions for different garden sizes
  • ⚙️ Getting environment variables and API integration working smoothly in React

🏆 Accomplishments That We're Proud Of

  • Built a fully functional MVP that addresses real world case
  • Integrated structured AI output parsing using JSON
  • Created a clean and intuitive UI that works across devices
  • Used only free tools — no paid APIs or services required

📚 What We Learned

  • How to integrate Gemini AI into a live React app
  • Techniques to standardize unpredictable AI output using JSON schemas
  • The power of AI in making environmental tools more accessible
  • Firebase Hosting workflows for rapid deployment

🔮 What's Next for AI Garden Advisor

  • 🗓️ Add a personalized planting calendar based on user location
  • 🎙️ Implement voice input for quick accessibility
  • 📋 Launch a gardening journal for seasonal notes and reminders
  • 📱 Add offline support via Progressive Web App (PWA) integration
  • 🧠 Add plant disease detection with image upload and AI diagnosis

✨ Features

  • 🔮 AI-Powered Recommendations via Gemini API
  • ⚡ Modern, Minimalist UI built with React
  • 🆓 Completely Free & Lightweight — no paid APIs or accounts required
  • 🌐 Firebase Hosting for fast, free deployment
  • 📲 Mobile-Responsive Design

🔧 Tech Stack

  • Frontend: React, HTML, CSS, JavaScript
  • AI Integration: Gemini API
  • Backend / Hosting: Firebase
Share this project:

Updates