shamba smart
# shambaSmart - Smart Agriculture IoT System
## đ± Project Overview
shambaSmart is a comprehensive smart agriculture IoT system that combines real-time sensor monitoring, AI-powered crop recommendations, and automated irrigation control. The system helps farmers optimize crop yields through data-driven insights and automated farm management.
### Key Features
- **Real-time Environmental Monitoring** (Temperature, Humidity, Soil Moisture, NPK levels)
- **AI-Powered Crop Recommendations** using Google Gemini AI
- **Market Price Analytics** across multiple African countries
- **SMS Notifications** for critical alerts via Africa's Talking API
- **WebSocket Real-time Data Streaming**
- **Automated Irrigation Control**
- **User Authentication & Profile Management**
## đïž System Architecture
```
âââââââââââââââââââ âââââââââââââââââââ âââââââââââââââââââ
â ESP8266/IoT âââââ¶â Django Backend âââââ¶â React Frontend â
â Sensors â â (API) â â (UI) â
âââââââââââââââââââ âââââââââââââââââââ âââââââââââââââââââ
â â â
⌠⌠âŒ
âââââââââââââââââââ âââââââââââââââââââ âââââââââââââââââââ
â Hardware Sensorsâ â SQLite Database â â User Interfaceâ
â - DHT22 (Temp) â â - User Data â â - Dashboard â
â - Soil Moisture â â - Sensor Data â â - Analytics â
â - NPK Sensor â â - AI Messages â â - Chat AI â
âââââââââââââââââââ âââââââââââââââââââ âââââââââââââââââââ
```
## đ Project Structure
```
ProjectZero/
âââ frontend/ # React.js Frontend
â âââ src/
â â âââ Components/ # Reusable UI components
â â âââ Pages/ # Main application pages
â â âââ Slices/ # Redux state management
â â âââ api.js # API configuration
â âââ package.json
â âââ vite.config.js
âââ Roblox/ # Django Backend
â âââ back âŠ