AI-powered agriculture web app for crop disease detection, mandi price analysis, weather insights, and smart crop advisory using React, Node.js, and APIs.
# 🌾 Project Kisan — AI Agriculture Assistant
An intelligent, mobile-first web application that helps farmers and agri-enthusiasts with **crop disease diagnosis, mandi price analysis, weather insights, and AI-driven crop advisory**.
🔗 Live Demo:
project-kisan.netlify.app
---
## 🚀 Features
### 🌿 Crop Diagnosis
* Upload leaf images to detect plant diseases
* Uses AI-based image analysis (Plant.id API)
* Provides treatment suggestions and risk levels
### 📊 Mandi Intelligence
* Real-time crop price lookup
* Supports multiple vegetables and crops
* Voice-enabled search (speech recognition)
### 🌦️ Weather Insights
* Live weather data using OpenWeather API
* Displays temperature, humidity, wind, etc.
### 💡 Crop Advisory
* AI recommendations based on weather + crop data
* Helps farmers decide optimal actions
### 🎤 Voice Assistant
* Speech-to-text input for search queries
* Works across desktop and mobile browsers
### 📱 Mobile-First UI
* Fully responsive design
* Optimized for low-end devices and mobile usage
---
## 🧱 Tech Stack
### Frontend
* React + Vite
* TypeScript
* Tailwind CSS
### Backend
* Node.js + Express
* REST APIs
### APIs Used
* Plant.id (Crop disease detection)
* OpenWeatherMap (Weather data)
* Mandi Price API (Market data)
### Deployment
* Frontend: Netlify
* Backend: Render
---
## ⚙️ Environment Variables
### Frontend (.env)
```env
VITE_BACKEND_URL=
your-backend.onrender.com
VITE_OPENWEATHER_API_KEY=your_key
VITE_MANDI_API_KEY=your_key
VITE_CROP_API_KEY=your_key
```
---
### Backend (Render Environment Variables)
```env
OPENWEATHER_API=your_key
PLANT_ID_API_KEY=your_key
MANDI_API_KEY=your_key
PORT=8000
```
---
## 🖥️ Local Development
### 1. Clone the repository
```bash
git clone
github.com
cd project-kisan
```
---
### 2. Setup Frontend
```bash
npm install
npm run dev
```
---
### 3. Setup Backend
```bash
cd server
npm install
node server.js
```
---
### 4. Access …