HCHarsh Chandra Srivastavainblog.harshdotexe.me·May 6 · 4 min readSessions vs JWT vs Cookies: Understanding Authentication ApproachesWhen building authentication systems, you’ll encounter three common terms: sessions, cookies, and JWT (JSON Web Tokens). They are related but not interchangeable. This guide clarifies what each one do00
HCHarsh Chandra Srivastavainblog.harshdotexe.me·May 6 · 4 min readJWT Authentication in Node.js Explained SimplyWhen you build applications with user accounts, one fundamental question always comes up: “Aap kaun ho?” (Who are you?) That’s exactly what authentication answers. Why Authentication Is Required Wi00
HCHarsh Chandra Srivastavainblog.harshdotexe.me·May 6 · 5 min readStoring Uploaded Files and Serving Them in ExpressHandling file uploads is a common backend requirement—profile pictures, documents, media, etc. In Express, this involves receiving files, storing them properly, and serving them back via URLs. Let’s b00
HCHarsh Chandra Srivastavainblog.harshdotexe.me·May 6 · 3 min readURL Parameters vs Query Strings in Express.jsWhen building APIs with Express, you’ll frequently pass data through the URL. There are two primary ways to do this: URL parameters (route params) and query strings. They serve different purposes and 00
HCHarsh Chandra Srivastavainblog.harshdotexe.me·May 6 · 4 min readHow Node.js Handles Multiple Requests with a Single ThreadAt first glance, Node.js seems limited because it is single-threaded. But in practice, it can handle thousands of concurrent requests efficiently. The key lies in how it manages work using the event l00