Smart Agriculture Platform for Sudan
# زرعتي | Zarati
**Sudan's National Smart Agriculture Platform**
Zarati connects Sudan's 15 million farmers to real-time crop prices, weather intelligence, and an agricultural marketplace — built Arabic-first, bilingual Arabic/English, RTL-native.
> بوابة الزراعة الذكية في السودان — أسعار آنية، طقس زراعي، سوق رقمي
---
## What it does
| Feature | Status |
|---------|--------|
| Homepage with live crop prices & weather | Live |
| Crop Price Index (8 crops, SDG prices) | Live (mock data) |
| Agricultural Marketplace | Live (mock data) |
| Weather Intelligence — 5 major cities | Live (mock data) |
| Farmer Dashboard | Live (mock data) |
| AI Advisor | Coming Soon |
| Microfinancing Portal | Coming Soon |
| NGO Dashboard | Coming Soon |
| Government Portal | Coming Soon |
---
## Tech Stack
| Layer | Technology |
|-------|-----------|
| Framework | Next.js 16.2.9 (App Router, Turbopack) |
| Language | TypeScript 5.9 |
| Styling | Tailwind CSS v4 |
| UI | Custom design system (no external UI library) |
| Fonts | Cairo (Arabic) + Geist (Latin) — self-hosted via `next/font` |
| i18n | Manual `[lang]` routing — Arabic default, English supported |
| Testing | Vitest + jsdom |
| Data | Mock data layer (swap-ready for real APIs) |
---
## Quick Start
### Prerequisites
- Node.js 20+
- npm 10+
### Installation
```bash
git clone
github.com
cd zarati
npm install
```
### Development
```bash
npm run dev
```
Open
localhost — redirects to `/ar` (Arabic) by default.
Switch to English:
localhost
### Available Scripts
```bash
npm run dev # Start dev server (Turbopack)
npm run build # Production build
npm run start # Start production server
npm run lint # ESLint
npm run test # Vitest (watch mode)
npm run test:run # Vitest (single run, for CI)
```
---
## Project Structure
```
zarati/
├── app/
│ ├── layout.tsx # Root pass-through (imports globals.css)
│ ├── page.tsx …