Laitstyles: Payment-Backed Commerce Marketplace
For a retailer, a storefront is only the starting line. Stock has to match what is for sale, customers need reliable checkout, and finance needs traceable orders, refunds, and ledger records. I built the backend and operations layer across Fastify, PostgreSQL/Prisma, and Next.js alongside PRDs, data models, compliance notes, and a Playwright CI suite.
Connected Paystack checkout, refund lifecycles, double-entry financial records, and Better Auth sign-in inside a tested marketplace architecture.
My role: Founder & Principal Systems Engineer at Relvor
Public interface previewThe challenge
Product data, stock movement, customer accounts, checkout, and financial status must agree with one another. A failed payment or partial refund cannot leave the customer, store operator, and database with conflicting records.
The part I led
Built the Fastify backend, PostgreSQL/Prisma schema, and Next.js storefront and operations flows covering Paystack checkout, refund lifecycles, double-entry financial records, and Better Auth sign-in. Authored PRDs, data models, compliance notes, and an automated Playwright end-to-end CI suite.
The result
The marketplace has a traceable path from listing and checkout through fulfillment, refunds, and double-entry financial reconciliation, verified by an automated Playwright CI suite. Revenue or conversion uplift is not claimed without live production analytics.
The decisions and work behind it
- Built Paystack checkout, interrupted-payment recovery, and refund lifecycles backed by double-entry financial records.
- Implemented customer accounts and session security with Better Auth alongside PostgreSQL/Prisma data models.
- Authored product requirements documents (PRDs), relational data models, and operational compliance notes.
- Added an automated Playwright CI suite covering storefront, checkout, and back-office regressions.