RTRachit Tanejainbackend-with-rachit.hashnode.dev·May 9 · 4 min readHandling File Uploads in Express with Multer1. Why File Uploads Need Middleware When you submit a standard text-based form on the web, Express has built-in parsers (like express.urlencoded()) to easily read the text and attach it to the req.bod00
RTRachit Tanejainbackend-with-rachit.hashnode.dev·May 9 · 4 min readCreating Routes and Handling Requests with ExpressWhat is Express.js? Express.js is a minimal and flexible Node.js web application framework. It sits on top of Node.js's built-in HTTP module and provides a set of features for web and mobile applicati00
RTRachit Tanejainbackend-with-rachit.hashnode.dev·May 9 · 4 min readJWT Authentication in Node.js Explained SimplyBuilding a web application means you eventually have to figure out how to handle user logins. You need a reliable way to verify who someone is and keep them logged in as they navigate from page to pag00
RTRachit Tanejainbackend-with-rachit.hashnode.dev·May 9 · 5 min readSessions vs JWT vs Cookies: Understanding Authentication ApproachesEvery time a user clicks a link or submits a form on your website, they are making a brand new HTTP request. By default, HTTP is completely forgetful. The server processes a request, sends a response,00
RTRachit Tanejainbackend-with-rachit.hashnode.dev·May 9 · 4 min readURL Parameters vs Query Strings in Express.jsWhenever you build an API, you need a way for the frontend application to send small pieces of data to your server right inside the web address. If a user clicks on a specific product, the server need00