e-Khadi: community credit and stokvel platform for SASSA recipients, built for Huawei Developer Competition Africa 2026.
# e-Khadi — Community Credit & Stokvel Platform
> **Huawei Developer Competition Africa 2026** submission by **Fanelesibonge Mbuyazi** (Sanlam)
**e-Khadi** digitises store credit and stokvel savings for South Africa's 18 million+ SASSA grant recipients. Township spaza shop owners extend credit to community members; repayments are automated against monthly grant cycles — all running on Huawei Cloud.
| | |
|---|---|
| **Live app** |
e-khadi.co.za |
| **GitHub** |
github.com |
| **Server** | Huawei ECS · 110.238.73.51 · af-south-1 |
| **Contact** | Fanelesibonge.Mbuyazi@sanlam.co.za |
---
## Huawei Cloud Services (5 active + 33 planned)
| Service | Status | Role |
|---|---|---|
| **ECS** | ★ Active | Hosts Next.js app (PM2, Node 18, Nginx) |
| **RDS for PostgreSQL** | ★ Active | Primary database · 192.168.0.53:5432 |
| **OBS** | ★ Active | PDF receipts, ID documents, DB backups |
| **SMN** | ★ Active | SMS/email alerts on credit approval/rejection |
| **FunctionGraph** | ★ Active | Automated monthly repayment cron (1st of month) |
| CDN, WAF, AAD, ELB | Planned | Edge & security layer |
| API Gateway, DCS, KMS | Planned | API management, caching, encryption |
| ModelArts, OCR, FRS, NLP | Planned | AI stock forecast, ID verification, chatbot |
| DMS Kafka, DLI, DWS | Planned | Event streaming & analytics |
---
## Architecture
### Current Architecture (5 Huawei Cloud services — live in production)
```
User (Browser / PWA)
↓ HTTPS
Nginx (:80/:443) ← e-khadi.co.za
↓
Next.js App (ECS · :3000 · PM2)
├── Prisma ORM ──────────────→ RDS PostgreSQL (192.168.0.53)
├── OBS SDK ─────────────────→ OBS Bucket (PDF receipts)
├── SMN SDK ─────────────────→ SMN Topic (email/SMS alerts)
└── FunctionGraph ───────────→ Monthly repayment cron
```
### Future Architecture (38 Huawei Cloud services — full scale)
| Layer | Services |
|---|---|
| Edge | CDN · WAF · AAD · ELB |
| API | API Gateway |
| Compute | ECS ★ · CCE · A …