QR-Based Encrypted Payment Platform
A fintech-grade system engineered for performance, security, and scale. Every architectural decision made with intent.
A modular monolith built for clarity today, microservices-ready for tomorrow. Every layer earns its place.
No cargo-culting. Each technology chosen for a specific, defensible reason.
The heart of Quenzo. Dynamic, encrypted, and app-exclusive by design.
QR Payload Structure
Security Layers
Modular monolith — each domain is self-contained, independently extractable into a microservice when the time is right.
Every layer hardened. Financial data demands nothing less.
PostgreSQL schema designed for financial integrity — every relationship explicit, every mutation traceable.
Start lean on a single VPS. Scale surgically when actual pain points emerge — not imagined ones.
| Category | Technology | Why |
|---|---|---|
| Frontend | Flutter + MVVM + BLoC | Cross-platform, strict state machines for payment flows |
| Backend | Go + Gin | High concurrency, lightweight, perfect for financial APIs |
| Primary DB | PostgreSQL | ACID compliance, relational integrity for transactions |
| Cache | Redis | OTP caching, rate limiting, fast data access |
| Realtime | WebSocket | Live in-app transaction status — no polling |
| Async | NATS | Decouple payment confirmation from side effects |
| Notifications | Firebase FCM | Reliable background push delivery |
| Proxy | Nginx + Let's Encrypt | HTTPS, routing, future load balancing |
| Container | Docker + Compose | Consistent environments, service isolation |
| CI/CD | GitHub Actions | Automated deploy pipeline to VPS |
| DB Migrations | golang-migrate | Version-controlled schema changes |
| Error Tracking | Sentry | Runtime crash capture (metrics ≠ errors) |
| Monitoring | Prometheus + Grafana | API metrics, resource usage, transaction volume |
| Secrets | .env → Vault | Zero credentials in codebase, hardened in V2 |
| Infra | Hostinger KVM4 VPS | Cost-efficient, full control, 200GB storage |