# shamba-smart
🌱 ShambaSmart – AI-Powered Agriculture Platform for Kenya
📘 Overview
ShambaSmart is Kenya’s first platform for sustainable agriculture.
It leverages modern technology and the MERN stack (MongoDB, Express.js, React.js, Node.js) to transform how farmers, agronomists, and agricultural institutions access real-time insights about soil health, crop recommendations, and climate predictions.
The goal is to maximize yields, improve environmental sustainability, and empower Kenyan farmers through technology.
🌍 Core Features
Experts' Soil Analysis – Analyze soil nutrient content and health in real time.
Crop Recommendations – Expertise'-driven suggestions based on soil data, local weather, and market demand.
Climate Insights – Real-time weather data and predictive analytics from Kenya Meteorological Department APIs.
County & Sub-County Mapping – Supports all 47 counties, their sub-counties, constituencies, and locations for localized insights.
Yield Prediction – Machine learning models forecast yield based on historical and live data.
Farm Analytics Dashboard – Interactive charts to track performance, sustainability, and profit metrics.
Multilingual Interface – English, Swahili, and French support.
Responsive Design – Works seamlessly across desktop and mobile devices.
ML Models:
Soil Nutrient Prediction Model
Crop Recommendation Engine
Weather Pattern Prediction Model
Yield Estimation Model
Data Sources:
Kenya Meteorological Department (KMD) API
NASA POWER API for climate and solar data
Kenya Soil Survey datasets
FAO & OpenAgriData repositories
🧩 Tech Stack
Layer Technology
Frontend React.js, Tailwind CSS, Axios, Chart.js, React Router
Backend Node.js, Express.js, RESTful APIs
Database MongoDB (Atlas or local), Mongoose ORM
AI Layer TensorFlow.js / Flask API for ML models
Authentication JWT (JSON Web Tokens), bcrypt.js
Cloud Services AWS / Vercel / Render
Version Control Git + GitHub
DevOps Docker (optional), GitHub Actions for CI/CD
📁 Pr …