# π Amana β African Cross-Border Marketplace
**Amana** (meaning *trust* in Swahili) is a secure cross-border marketplace connecting African sellers with buyers worldwide. Built with escrow-first payments, verified sellers, and multi-currency support.
> Part of the ATG Group of Companies ecosystem.
---
## β¨ Features
- **Buyer Protection** β Vesicash escrow holds funds until delivery is confirmed
- **Secure Payments** β Flutterwave gateway supporting cards, mobile money, bank transfers
- **Seller Verification** β KYC/business document verification with trust scores
- **Product Marketplace** β Categories, search, filtering, reviews & ratings
- **Order Tracking** β Full lifecycle from purchase to delivery
- **Seller Dashboard** β Analytics, product management, order fulfillment, settings
- **Multi-Currency** β USD, ZAR, NGN, KES, and more
- **Responsive UI** β Radix UI + Tailwind CSS, mobile-first design
## π Tech Stack
| Layer | Technology |
|-------|-----------|
| Framework | Next.js 16 (App Router, TypeScript) |
| Database | PostgreSQL 16 + Prisma ORM |
| Auth | NextAuth v5 (credentials) |
| Payments | Flutterwave |
| Escrow | Vesicash |
| UI | Radix UI + Tailwind CSS |
| Validation | Zod |
| Deployment | Docker + Nginx (Vultr VPS) |
## π Project Structure
```
src/
βββ app/
β βββ (auth)/ # Login, Register
β βββ (main)/ # All public pages + dashboard
β βββ api/ # REST endpoints (auth, products, orders, webhooks)
βββ components/ # Reusable UI (navbar, footer, product card, auth forms)
βββ lib/ # Prisma client, auth config, payment integrations
βββ middleware.ts # Route protection
prisma/
βββ schema.prisma # Database schema
βββ seed.ts # Seed data
```
## π Getting Started
### Prerequisites
- Node.js 20+
- PostgreSQL 16 (or use Docker)
### Local Development
```bash
# Clone
git clone
github.com
cd amana-marketplace
# Install depe β¦