AAkshitinakshitmahajan.hashnode.dev·Jun 7 · 3 min readWhile building MustCollab.com, I realized that authentication is only one piece of security. A valid user token proves identity, but it doesn't automatically prove ownership of a resource. Here are so00
AAkshitinakshitmahajan.hashnode.dev·May 17 · 2 min readRace Condition in Frontend(react) — Explained with a Food Delivery AppImagine you open a food delivery app and check: "Restaurants near Amritsar" Request A goes to the server. Before it finishes, you quickly change location to: "Restaurants near Chandigarh" Request B go10
AAkshitinakshitmahajan.hashnode.dev·May 13 · 4 min readHow to send backend response quickly when having 15 await functionsI was working on a WhatsApp AI chatbot recently and hit one of the most important backend architecture problems I’ve faced so far: Meta’s webhook timeout rule. Here’s the complete breakdown of how I s10
AAkshitinakshitmahajan.hashnode.dev·May 9 · 2 min readJavascript event loop expained JavaScript runs on a single thread, meaning it can only do one thing at a time. But why we need event loop? without it we could not run functions asynchronously. Gmeet without event loop streamVideo()10
AAkshitinakshitmahajan.hashnode.dev·May 7 · 4 min readSolving a Race Condition in Whatsapp Express AI app with PostgreSQL Advisory LocksNever Accidentally Send Duplicate WhatsApp AI Replies — Solving a Race Condition in Express.js with PostgreSQL Advisory Locks I was building a WhatsApp webhook API flow like this: WhatsApp Webhook → E10