PMParth Munjalinparthmunjal07.hashnode.dev·Jul 9 · 9 min readRealtime Systems: Polling, WebSockets, SSE, and Pub/SubHow does WhatsApp deliver a message instantly? When you hit "send," the text doesn't just float in the ether waiting for your friend's phone to check for new messages. It appears on their screen in mi00
PMParth Munjalinparthmunjal07.hashnode.dev·Jul 8 · 9 min readSecuring Apps: Password Hashing, RBAC, OAuth, and OpenID ConnectHow does a website actually know who you are? When you log into a dashboard, check out an online cart, or access a private repository, the application seamlessly recognizes you and serves up your pers00
PMParth Munjalinparthmunjal07.hashnode.dev·Jun 27 · 9 min readModern Database Access: Prisma, Drizzle, and ORMs Explained0. What are DBs fundamentally? To understand about modern database access we first need to understand what these databases like MongoDB and PostgreSQL actually do. These MongoDB and PostgreSQL are act00
PMParth Munjalinparthmunjal07.hashnode.dev·May 8 · 3 min readJWT Authentication in Node.js Explained SimplyWhy Authentication? Authentication acts as your application's digital bouncer. We need it to verify user identities, protect sensitive data, and ensure only authorized people can perform specific acti00
PMParth Munjalinparthmunjal07.hashnode.dev·May 8 · 4 min readSessions vs JWT vs Cookies: Understanding Authentication Approaches1. The Basics: What are Cookies? Before comparing authentication methods, it's important to separate Cookies from Sessions and JWTs. A Cookie is simply a storage mechanism in the user's web browser. I00