SSaumyainblog.saumyagrawal.in·May 16 · 12 min readOne Person, One Vote? The Technical Struggle of Web Poll IntegrityIf you've ever built a poll/survey, you've hit this wall: how do you stop one person from voting fifty times? It sounds simple but it isn't. Every approach trades off between friction and accuracy, an30
SSaumyainblog.saumyagrawal.in·May 8 · 10 min readExpress.js: I Stopped Fighting Node's HTTP Module and Everything Got EasierI built my first Node.js server using the built-in http module. It worked. It also made me want to close my laptop and go outside. Not because the code was hard, but because every tiny thing required 00
SSaumyainblog.saumyagrawal.in·May 8 · 8 min readWhere Do Uploaded Files Actually Go? A Question I Should Have Asked Sooner.I built a profile picture upload feature for a side project. It worked. Users picked a file, hit submit, and the server saved it. I was proud of myself for about three hours until I deployed to a free00
SSaumyainblog.saumyagrawal.in·May 8 · 18 min readExpress Middleware: The Stuff That Runs Before Your Route Does AnythingI spent a full afternoon staring at a bug where every single route in my Express app returned undefined for req.body. The POST request was fine. The JSON was valid. The route handler was correct. I wa00
SSaumyainblog.saumyagrawal.in·May 7 · 10 min readNode.js: How JavaScript Escaped the Browser and Why That MattersFor years, JavaScript lived inside the browser and nowhere else. You could make buttons change color, validate a form before it was submitted, maybe animate a dropdown menu. That was it. If you wanted00