sajalbatra.hashnode.devAccept One-Time Payments in Next.js with Dodo Payments (TypeScript Example)Want to sell digital goods or accept one-time payments in your Next.js app? Dodo Payments makes it easy for Indian startups. Here’s a simple, step-by-step guide using TypeScript and a “Premium PDF Download” example. 1. Setup First, install the requi...Jun 7, 2025·4 min read
sajalbatra.hashnode.devDodo Payments Subscription Integration in Next.js (TypeScript): Simple ExampleIf you want to add recurring payments to your Next.js app, Dodo Payments offers a simple API for Indian startups. Let’s see how to set up a monthly subscription for a “Pro Notes” app, where only paid users can save unlimited notes. 1. Setup Install d...Jun 7, 2025·4 min read
sajalbatra.hashnode.devLoad Balancing: The Secret Sauce Behind Websites That Never CrashLook, we've all been there. You're shopping online during Black Friday, and suddenly the site crashes. Or you're trying to book concert tickets the moment they drop, and the website grinds to a halt. Frustrating, right? Behind the scenes, what usuall...Mar 13, 2025·4 min read
sajalbatra.hashnode.devPicking Your Perfect Web Stack: MERN, MEVN, or Next.js?Hey there! After spending couple of years in web development , I thought I'd share my thoughts on three popular choices that often confuse newcomers and experienced devs alike. Let's Cut Through the Buzz Look, I get it. The internet is flooded with t...Jan 30, 2025·4 min read
sajalbatra.hashnode.devWhat the Heck are Message Queues?Ever feel like your computer programs are juggling too many tasks at once? Welcome to the world of message queues – the unsung heroes of modern software architecture. What's a Message Queue, Anyway? A message queue is a communication mechanism that e...Jan 26, 2025·3 min read