AI-powered agricultural assistant for Tanzania farmers
# Agrimind - AI-Powered Agricultural Assistant
A comprehensive agricultural assistant designed specifically for Tanzanian farmers, providing localized, practical, and data-driven advice to increase crop yield, reduce losses, and improve farming decisions.
## Features
### Core Capabilities
1. **Crop Disease Diagnosis** - Identify crop diseases from images or descriptions
2. **Farming Advisory** - Get personalized advice for planting, growing, and harvesting
3. **Crop Recommendations** - Discover the best crops for your location and conditions
4. **Weather-Aware Decision Support** - Access weather information and agricultural insights
5. **Multi-Language Support** - Available in English and Swahili
### Local Context
- **Primary Region**: Tanzania (East Africa)
- **Climate**: Tropical, with rainy and dry seasons
- **Common Crops**: maize, rice, beans, cassava, tomatoes, onions
- **Farming Type**: Smallholder, low-cost, practical solutions
## Technology Stack
### Backend
- **Node.js** with Express.js
- **File Upload** with Multer
- **Image Processing** (simulated for demo)
- **Weather Data** (simulated for demo)
- **Modular Architecture** with separate service modules
### Frontend
- **React 18** with modern hooks
- **React Router** for navigation
- **Tailwind CSS** for styling
- **Lucide React** for icons
- **Responsive Design** for mobile and desktop
### Key Modules
- `diseaseDiagnosis.js` - Disease identification and treatment recommendations
- `farmingAdvisory.js` - Contextual farming advice
- `cropRecommendation.js` - Crop suitability scoring
- `weatherService.js` - Weather data and agricultural insights
- `languageService.js` - Multi-language support
## Installation
### Prerequisites
- Node.js (v14 or higher)
- npm or yarn
### Setup Instructions
1. **Clone the repository**
```bash
git clone
cd AGRIMIND_APP
```
2. **Install backend dependencies**
```bash
npm install
```
3. **Install frontend dependencies**
```bash
cd client
npm install
cd ..
```
4. ** …