
Mirza Shahbaz Ali Baig
Full-Stack Engineer · AI Systems Builder
I build production-grade Full stack applications, backend systems and agentic AI applications. If you have a complex problem — Full Stack applications, multi-tenant architecture, API integrations, or agentic AI pipelines — I can scope, architect, and ship it.
Recent work includes a real-time WhatsApp platform serving 15,000+ students and a multi-tenant SaaS handling CRM, payments, and omnichannel messaging for service businesses.
Activity
GitHub contributions · last 12 months
Projects
Multi-Tenant SaaS Platform
confidentialCompany project · B2B vertical SaaS · Confidential
Businesses in the service industry rely on fragmented tools — separate systems for scheduling, payments, client management, and marketing — with no unified platform built for their workflow. Existing solutions are either too generic or too expensive to white-label at scale.
Architecting a full multi-tenant B2B SaaS platform from the ground up. Each tenant is fully isolated at the data layer via a tenant-scoped Prisma middleware. Built a plugin-based PayableHandler registry with a central PaymentOrchestrator owning all Stripe Connect logic — handling packages, gift cards, memberships, and wallet credits under a single payments interface. A trigger-filter-action Automation engine (similar to Zapier Flows) was designed for internal approval, with BullMQ workers processing async jobs. Cloudflare R2 handles multi-tenant media with signed URL uploads. Resend powers transactional email with per-tenant custom domain verification.
Core modules — scheduling, payments, client CRM, and automation — actively in development. Architecture reviewed and approved for production scale. Targeting feature parity with leading vertical SaaS competitors.
NestJS · Next.js App Router · PostgreSQL · Prisma · BullMQ · Redis · Stripe Connect · Cloudflare R2 · Socket.IO · Resend
WhatsApp Messaging Platform
confidentialClient project · Educational sector · Confidential
An educational board serving 15,000–20,000 students needed real-time WhatsApp communication — results, alerts, announcements — with zero message loss and a live agent dashboard.
Designed a 4-phase webhook → queue → WebSocket architecture on Meta Business API directly (skipping Twilio to eliminate per-message costs at scale). Inbound webhooks validate HMAC-SHA256 signatures and enqueue instantly to BullMQ — returning HTTP 200 before any processing to prevent Meta retry storms. Workers handle idempotency, persistence, and Redis Pub/Sub. A Socket.IO gateway routes live events to agents by room.
Message visibility latency: 5,000ms → under 1,000ms. Polling load reduced by 92%. Live in production serving 15,000+ students.
NestJS · PostgreSQL · Redis · BullMQ · Socket.IO · Next.js · Meta Business API
Most AI chatbot tutorials produce demos that break in production — no tool-calling reliability, no memory, no structure.
Built an industry-ready agentic chatbot from scratch with LangGraph state machines, persistent memory, real-world API tool-calling, and a production-grade folder structure designed for extension.
A reusable agentic foundation — not a demo. Can be dropped into any client project requiring conversational AI with external API access.
Python · LangChain · LangGraph · FastAPI · Groq API · Streamlit
Needed a complete real-world backend to master MERN — not a CRUD tutorial but a platform with actual complexity: auth, media, social graph.
Built a full YouTube-inspired platform — video uploads to Cloudinary, channel management, subscriptions, likes, comments, watch history, and JWT-based auth with refresh token rotation.
A complete production-pattern MERN backend serving as a reference architecture for future client projects.
React · Express · MongoDB · Node.js · Cloudinary · JWT
Education
BS Computer Science
Punjab University College of Information & Technology (PUCIT)
2024 – 2028 · Lahore, Pakistan
3.96
CGPA
Writing
A Practical guide to internal architecture of Node js beginner friendly for backend Engineers.
Nov 24, 2025
A practical breakdown of Auth tokens including access and refresh token, explaining why we need them?
Aug 29, 2025
Density-based spatial clustering of applications with noise (DBSCAN) is a data clustering algorithm proposed by Martin Ester, Hans-Peter Kriegel, Jörg Sander, and Xiaowei Xu in 1996. It is density based clustering algorithm which finds arbitrarily shaped clusters based on density.
Sep 04, 2025