Enable near-instant, low-cost, compliant cross-wallet transfers across African mobile money rails by routing liquidity through regulated stablecoin pools and an AI-driven router. Interoperable, affordable, and instant money movement across Africa.
# Jua Pesa β AI Liquidity Network
Enable near-instant, low-cost, compliant cross-wallet transfers across African mobile money rails by routing liquidity through regulated stablecoin pools and an AI-driven router.
> Interoperable, affordable, and instant money movement across Africa.
---
## Team Members
- Adachukwu Okafor -
github.com (Frontend engineer)
- Austin Chibueze -
github.com (Backend/AI Engineer)
## β¨ Highlights
- FastAPI backend with modular architecture and 100% test coverage gate
- React + Vite + TypeScript frontend (shadcn/ui + Tailwind, Radix primitives)
- Solidity Hardhat scaffold with `LiquidityPool.sol` and tests
- Prometheus metrics endpoint (`/metrics`) and health probes (`/healthz`)
- Config via `.env` using `pydantic-settings`; safe fallbacks for dev
- Monorepo with `git subtree` for `frontend/` to preserve independent history
---
## ποΈ Repository Structure
```
JuaPesa/
ββ backend/ # FastAPI service and tests
β ββ app/
β β ββ api/ # API routes (USSD, convert, rebalance, etc.)
β β ββ core/ # Config, DB, cache
β β ββ models/ # Pydantic schemas & SQLAlchemy models
β β ββ services/ # Business logic (wallet, liquidity, forecast, auth)
β β ββ integrations/ # External integrations (Daraja, CCTP, Hedera)
β β ββ ai/ # Groq AI client wrapper (mock-friendly)
β ββ tests/ # Pytest suite (coverage target 100%)
β ββ environment.yml # Conda environment (includes pip -e .[dev])
β ββ pyproject.toml # Dependencies, tooling configs
β ββ README.md # Backend-specific docs
β
ββ frontend/ # React + Vite + TS UI (added via git subtree)
β ββ src/ # Components, hooks, contexts
β ββ public/ # Static assets
β ββ package.json # Scripts and deps
β ββ README.md # Frontend-specific docs and usage
β
ββ contract/ # Hard β¦