TypeScriptNestJSPostgreSQLDockerPlaywright
VITPAY
Payment-link, QR code and checkout platform for merchants in Morocco: customers pay through a licensed provider, and VITPAY confirms on server-side proof. Pilot phase, in sandbox.

How it works
A merchant enters an amount, VITPAY generates a link or a QR code, and the customer pays through a licensed payment provider. VITPAY never holds funds and only confirms a payment on server-side proof.
What I built
- NestJS API: payment engine, ledger, webhooks, administration and a simulated provider
- A strict money type (
bigint, mandatory currency) to rule out rounding errors - Public payment page in French, Arabic and English, with right-to-left support
- Business area: payment requests, QR checkout, refunds, team management
- Internal admin with mandatory MFA and four-eyes approvals
- Containerized staging environment (Docker Compose, Caddy, automatic HTTPS)
Quality
113 API tests (unit and integration against a real PostgreSQL), 9 tests for the money module, 11 Playwright browser tests.
Status
Pilot phase in Casablanca, in sandbox mode: vitpay-ma.com is live and open to pilot access requests. Live payments stay locked in the code until the regulatory compliance points are cleared.