# AgriHub Liberia
**Digital Agricultural Intelligence Platform + Consumer E-Commerce**
Built by Tech 231 Liberia Limited · Commissioned by the Ministry of Commerce & Industry, Republic of Liberia
---
## Overview
AgriHub Liberia is a full-stack digital agricultural platform empowering rural Liberian farmers with real-time market prices, county-specific weather forecasts, expert agronomy guidance, and a peer-to-peer marketplace connecting farmers directly to buyers. No middlemen. Better prices.
It also includes a **consumer e-commerce storefront** (`/shop`) — a fresh, public-facing shop where everyday Liberians can browse and order produce directly from verified farmers, with delivery address management, order tracking, and MTN MoMo / Orange Money checkout.
The platform is designed for Liberia's infrastructure realities: low-bandwidth mobile browsers, WhatsApp-first communication, MTN MoMo / Orange Money payments, and USSD offline access via `*347#` on any Liberian phone.
---
## Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router, Turbopack) |
| Language | TypeScript |
| Styling | Tailwind CSS v4 |
| State Management | Zustand (with localStorage persist) |
| Animations | Framer Motion |
| Charts | Recharts |
| Forms | React Hook Form + Zod |
| Notifications | Sonner |
| Icons | Lucide React |
| Auth | localStorage-based mock sessions (Phase 1) |
---
## Features
### Authentication — Farmers & Staff
- **6-Step Registration Wizard** — Personal info, Farm details, Account type, Mobile money setup, Preferences, Complete
- **Login Page** — Split layout, email/phone detection, role-based redirect, remember me
- Roles: `farmer`, `buyer`, `extension-officer`, `admin`, `supplier`
- Sessions stored in `localStorage` under `agrihub_session`
### Farmer Dashboard (`/dashboard`)
- Time-based greeting with county badge
- My Farm summary card (name, size, crops)
- AI Advisor widget — daily planting, price, and risk recommendations
- Price Wat …