Architecture & Stack Components
Next.js 16TypeScriptPrisma ORMPostgreSQLM-Pesa STKPaystackPDF-LibWhatsApp Baileys

The Engineering Challenge
Problem Statement
Kenyan taxpayers and enterprise HR teams face lengthy delays and complex portal navigation when retrieving compliance certificates or verifying tax compliance.
The Architecture Solution
Technical Strategy
Engineered an in-memory buffer streaming pipeline utilizing PDF-Lib to stream certificates directly to users without storing personal tax documents on the server. Added WhatsApp automated dispatch via self-hosted Evolution API.
Verified Production Outcomes
Over 1,360+ successful live transactions
Zero-server tax document storage policy enforced
Sub-3-second certificate generation and delivery
Full System Overview
A mission-critical GovTech automation portal serving thousands of Kenyan citizens and enterprises. Built with Next.js 16 App Router, Prisma ORM, Neon PostgreSQL, Safaricom Daraja M-Pesa STK push, Paystack, and an Evolution API WhatsApp bot integration.