Senior Full-Stack Engineer · 6+ years · Lahore, Pakistan
I write TypeScript on both ends: React and Next.js on the front, Node.js and NestJS on the back, PostgreSQL and Redis underneath, AWS around it. For the last two years I have also been building LLM features, mostly agent workflows with tool calling and RAG.
Most of my recent work is private, so this page is where it lives.
An NFT marketplace with 5M+ users. They hired me to lead the frontend rebuild. I stayed on the backend and infrastructure after that, and the hard parts were almost always concurrency and money.
- Inventory that could not oversell. Atomic stock control for limited drops with Redis Lua scripts and cluster hash tags. Burst traffic hit Redis, not PostgreSQL.
- Payment migration. Moved live user balances from a custodial provider (Circle) to non-custodial on-chain wallets, one user at a time behind a provider abstraction.
- No double-booked rentals. Redlock plus conditional-update optimistic concurrency. The losing request gets a clean 400.
- Search over 6M+ items on Typesense, with per-attribute faceting, kept current by an SQS indexing worker.
- Event-driven workers on SNS/SQS across four fleets (settlement, indexing, scheduled jobs), with idempotency and retries throughout.
- Load shedding. Past an event-loop-lag threshold the public API returns 503 instead of queueing itself to death. Health checks and game server traffic stay exempt, so the game kept running.
- Monolith migration. Worked on a Strangler Fig migration of ~85 endpoints out of a Node.js monolith, behind an API gateway, with rollback by routing change.
- Frontend rebuild in Next.js, TypeScript and Chakra UI, with a Storybook component library.
- Infra: AWS ECS, Terraform, and GitHub Actions CI/CD across four backend services.
Client products. Started on the frontend, ended up owning features end to end.
- PicassoAI: AI image generation. Stateful generation pipeline, rate limiting, and usage gating tied to Stripe subscription tiers. Next.js, OpenAI, Supabase.
- Watch Farm: luxury watch auctions with real-time bid sync under concurrent bidding. Next.js, Firebase.
- Passes: creator monetization. NestJS and MySQL backend with tiered content access, subscriptions and payouts.
- App Tracker: sales pipeline tracking with LinkedIn integration and role-based access. Next.js, NestJS, PostgreSQL.
- Build Planner: construction scheduling SaaS with drag-and-drop timelines.
- prompt-builder-plugin: a Claude Code plugin that walks you through writing an LLM prompt one part at a time (role, task, context, format) and pushes back on the gaps.
- drift-runner: a low-poly 3D arcade driving game. Three.js, Rapier, Vite. Built for fun.
Frontend React · Next.js · TypeScript · Tailwind · Chakra UI · Storybook · Vue/Nuxt
Backend Node.js · NestJS · Express · REST · GraphQL · TypeORM · Prisma
Data PostgreSQL · Redis · MongoDB · Typesense · Supabase · Firebase
Infra AWS (ECS, S3, SNS/SQS) · Docker · Terraform · GitHub Actions
Payments Stripe · Circle · on-chain wallets
AI Anthropic API · OpenAI · Vercel AI SDK · LangChain · tool calling · RAG · vector search
Testing Jest · Playwright · Mocha
Open to full-time roles, remote or in Lahore.

