Storing Uploaded Files and Serving Them in ExpressSo you've figured out how to accept file uploads in Express. You used Multer, the form works, req.file is showing up in your console, and you did the developer equivalent of a happy dance. Respect. Bu13 min read·amirana.hashnode.devMay 10
Handling File Uploads in Express with MulterSo you are building a web app. Things are going well. Users can log in, post data, fetch data. Life is good. Then someone says, "Can users upload a profile photo?" And suddenly your smooth req.body wo13 min read·amirana.hashnode.devMay 10
Sessions vs JWT vs Cookies: Understanding Authentication ApproachesSo you are learning backend development, things are going well, you understand routes, you understand databases, and then someone says "we need to handle authentication." You nod confidently. Then the12 min read·amirana.hashnode.devMay 9
URL Parameters vs Query Strings in Express.jsSo you are building your first Express app, routes are working, life feels good. Then someone mentions "URL params" and "query strings" and your brain does that thing where it just quietly logs undefi7 min read·amirana.hashnode.devMay 9
What is Middleware in Express and How It WorksSo you've been building Express apps. You've got your routes set up, your server is running, and everything feels fine. Then someone says, "add some authentication to this" or "log all incoming reques10 min read·amirana.hashnode.devMay 9