Blog
Latest Writing
Short notes, deep dives, and practical guides I'm publishing as I build and ship.

Checkout Is Where Your Next.js Store Wins or Loses Trust
Practical lessons from Next.js eCommerce checkouts, payment gateways, and WordPress-to-Next migrations, drawn from real builds for merchants who need reliability over hype.
Read post
Rebuild vs Patch Your Checkout: How Founders Should Decide
A practical way for founders to decide when a checkout patch is enough and when the payment path needs a rebuild, without turning it into a new storefront.
Read post
City-Based Checkout Pricing in Next.js Without Surprising the Customer
How to price shipping (or total checkout) by city in a Next.js store: cart display, server validation, and what we kept simple on AffordableBags.pk.
Read post
How to Stay Safe from Recent npm Package Attacks in 2026
Learn practical steps to protect your projects from recent npm supply chain attacks including chalk, axios, tanstack and Shai-Hulud. Master npm security best practices, lockfiles, ignore-scripts, and tools to keep your dependencies safe in 2026.
Read post
From Monolith to Modular: How to Refactor a MERN App Without Breaking Production
Refactor your MERN monolith safely with a strangler approach. Learn how to modularize by business capability, stabilize production, and protect revenue-critical flows.
Read post
The Complete Guide to Checkout Optimization (Technical Edition): Speed, UX, and Trust Signals
If you’ve ever seen a customer charged twice, two orders created for one checkout, or the same webhook processed multiple times, your system isn’t “buggy”, it’s missing **idempotency and a reliable event pipeline**. In this post I’ll show how I design order flows in MERN/Next.js
Read post