How Does ChatGPT Understand Your Questions?I typed "explain recursion like I am five" into ChatGPT one night while debugging a particularly nasty stack overflow error, and got back an explanation involving Russian nesting dolls that actually mJul 4 · 13 min readgen-ai-by-ishan.hashnode.dev
Sessions vs JWT vs Cookies: Understanding AuthenticationI built my first authentication system using sessions because that is what the tutorial showed. Then I rebuilt it with JWT because someone on Reddit said sessions do not scale. Then I went back to ses1May 1 · 13 min readnodejs-by-ishan.hashnode.dev
Storing Uploaded Files and Serving Them in ExpressThe first file upload feature I built had a critical flaw I did not notice until production. Users could upload images, and the images saved correctly to the server. But when users tried to view their1May 1 · 13 min readnodejs-by-ishan.hashnode.dev
URL Parameters vs Query Strings in Express.jsThe first time I saw a URL like /users/123?page=2&sort=name, I assumed those were all just random parts of the URL format. I did not know which part was what, or why some values had a : prefix in the 1Apr 29 · 11 min readnodejs-by-ishan.hashnode.dev
Creating Routes and Handling Requests with ExpressThe first time I built a web server in Node.js, I used the built-in http module. It worked, but the code was messy. Every route was an if statement checking the URL. Every POST request required manual1Apr 29 · 13 min readnodejs-by-ishan.hashnode.dev