pan-african-mfi SaaS
# Pan-African Microfinance SaaS Platform
Multi-tenant microfinance management system built for Ghana and Zambia, deployable across Sub-Saharan Africa. Supports credit-only and deposit-taking institutions across all regulatory tiers.
---
## 🚀 Deployment Status
| Service | Platform | URL | Status |
|---|---|---|---|
| **Next.js Frontend** | Railway (`zealous-gentleness`) |
pan-african-mfi-production.… | ✅ Online |
| **Django Backend API** | Railway (`pan-african-mfi`) |
pan-african-mfi-production.… | ✅ Online |
| **Database + Auth** | Supabase (`gdskcpfwhzjnmaktemjk`) |
gdskcpfwhzjnmaktemjk.supaba… | ✅ Active |
| **Redis / Celery** | Railway (shared) | `REDIS_URL` injected by Railway | ✅ Online |
---
## 🏗️ Architecture
```
┌─────────────────────────────────────────────────────────────┐
│ CLIENT (Browser / Mobile) │
└─────────────────────┬───────────────────────────────────────┘
│
┌────────────▼────────────┐
│ Next.js 14 PWA │ Railway: zealous-gentleness
│ /mfi-frontend │ Standalone output, offline-capable
│ Tailwind CSS │
└────────────┬────────────┘
│ REST (JWT)
┌────────────▼────────────┐
│ Django 5 + DRF │ Railway: pan-african-mfi
│ /apps /config │ Gunicorn, 2 workers
│ Celery Beat (tasks) │ + Redis for task queue
└────────────┬────────────┘
│ psycopg2 + Supabase SDK
┌────────────▼────────────┐
│ Supabase (PostgreSQL) │ Project: Pan-African MFI
│ 59 tables (public+ │ Region: eu-west-1
│ audit schemas) │ RLS on all tenant tables
│ Supabase Auth │
│ Supabase Storage │
└─────────────────────────┘
```
---
## ✅ What Has Been Built & Deployed
### Database — Supabase (ALL DONE — do not re-run migrations)
All 7 migration files have been applied to Supabase project `gdskcpfwhzjnmaktemjk`. The schema is **complete and live**.
| Migration | Contents | Status |
|---|---|---|
| `0 …