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 β¦