Logo Lanfrica

Millanto/cashbridge

Domain:

digital infrastructuresocioeconomic

Record type:

software
Creator:
Mil
Host:
Offline-first fintech wallet & bookkeeping platform for African market traders πŸ‡¬πŸ‡­ # 🏦 CashBridge Sandbox Portal > **Production-Ready Offline-First Wallet & Bookkeeping App for African Informal Markets** > > CashBridge bridges Ghanaian market women, informal traders, and mobile money agents with stable payment rails (MTN MoMo, Paystack) and local-first data indexing, surviving any internet disruption gracefully. --- ## πŸ—οΈ Core Architecture Overview CashBridge is structured intentionally into two completely independent projects to preserve separation of concerns, allow clean horizontal autoscaling, and target distinct deployment runtimes: ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ CASHBRIDGE CLIENT DESKTOP / PWA β”‚ β”‚ (React 19 + Zustand state + IndexedDB local)β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ [Pushes Queued Local Transactions] [Retrieves Real-time Mobile Balance] β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ EXPRESS.JS BACKEND RUNTIME β”‚ β”‚ (Secured by Helmet, Rate-Limit & JWT) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β–Ό β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ SUPABASE POSTGRES DB β”‚ β”‚ THIRD-PARTY PAYMENT INGRESS β”‚ β”‚ (RLS protection, triggers) β”‚ β”‚ (MTN MoMo Sandbox, Paystack) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` --- ## πŸ“‚ Separated Directory Layouts ### 🟒 1. CashBridge Frontend (`cashbridge-frontend`) A lightweight, mobile-first PWA serving interface components instantly. ``` cashbridge-frontend/ β”œβ”€β”€ public/ β”‚ β”œβ”€β”€ sw.js # PWA Service Worker caching core assets & shell β”‚ └── manifest.json # Webapp installation parameters for mobile screens β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ db/ β”‚ β”‚ └── localDb.ts # IndexedDB wrapper for local transaction queues β”‚ β”œβ”€β”€ hooks/ β”‚ β”‚ └── useOfflineSync.ts # Network stat …

Languages