SGSahil Guptainsahilxdev.hashnode.dev·1d ago · 8 min readSessions vs JWT vs Cookies: How Does a Server Remember You?How does a server remember that you are logged in? You log in once. Then you open ten more pages, and the app never asks for your password again. Many beginners think the server simply "remembers" the00
SGSahil Guptainsahilxdev.hashnode.dev·1d ago · 6 min readWhere Do Uploaded Files Go? Storing and Serving Them in ExpressWhere do uploaded files go after Multer saves them? Many beginners think an uploaded file lives inside the request, or inside the database. That's not true. A file is just bytes written to a disk. You00
SGSahil Guptainsahilxdev.hashnode.dev·3d ago · 7 min readHandling File Uploads in Express with MulterWhy can't Express read a file upload on its own? You build a form with a file input. You submit it. You log req.body. It is empty. Many beginners think Express is broken or that it express.json() shou00
SGSahil Guptainsahilxdev.hashnode.dev·4d ago · 7 min readREST API Design Made Simple with Express.jsWhat does "REST API" actually mean? Many beginners think REST is a library or a framework you install. That's not true. REST is a set of rules for how a client and a server talk to each other over HTT00
SGSahil Guptainsahilxdev.hashnode.dev·6d ago · 7 min readWhat is Middleware in Express and How Does It Work?What happens to a request before it reaches your route? You send a request to /api/users. Your route handler sends back a response. Many beginners think the request goes straight from the browser to t00
SGSahil Guptainsahilxdev.hashnode.dev·Oct 1 · 7 min readURL Params vs Query Strings in Express.js: Which One Should You Use?How does Express know which user you want, and how do you filter the results? You open /users/42 and get one user. You open /search?q=laptop&sort=price and get a filtered list. Both look like normal U00
TKTushar Kumar Jaiswalinwebdevcohort2026.hashnode.dev·Sep 28 · 3 min readCSS Selectors 101: Targeting Elements with PrecisionWhy CSS selectors are needed CSS needs a way to identify which HTML element should receive a particular style. Like we want to change the background color of container or we want to change the text co00
SGSahil Guptainsahilxdev.hashnode.dev·Sep 26 · 7 min readWhy Does Everyone Use Express Instead of Plain Node.js?Why Does Everyone Use Express Instead of Plain Node.js? Many beginners think Express is some separate framework that replaces Node.js entirely - like choosing React instead of vanilla JavaScript. That00
NYNandani Yadavingit-for-biginers.hashnode.dev·Sep 24 · 4 min readUnderstanding HTML Tags and Elements When I started learning web development, I heard the word HTML everywhere. I knew that HTML is used to create webpages, but initially I was not very clear about what tags, elements, opening tags, clos00
SGSahil Guptainsahilxdev.hashnode.dev·Sep 24 · 11 min readThe Node.js Event Loop Explained: How One Thread Juggles Everything"Node.js is single - threaded, so it can only do one thing at a time." You have probably heard this. It is half true, and the half that is false is the reason Node.js can serve thousands of users on a00