SSSubhasis Samantasingharinjs-blog-subhasis.hashnode.dev·May 9 · 5 min readSessions vs JWT vs Cookies: Understanding Authentication ApproachesIntroduction When an user logs into a web application, the server needs a way to remember who that user is for future requests. This process is called authentication. There are three commonly used app10
SSSubhasis Samantasingharinjs-blog-subhasis.hashnode.dev·May 9 · 4 min readStoring Uploaded Files and Serving Them in ExpressIntroduction Many web applications allow users to upload files such as images, documents, or videos. Once uploaded, these files must be stored safely and served back to users when needed. In applicati10
SSSubhasis Samantasingharinjs-blog-subhasis.hashnode.dev·May 9 · 4 min readJWT Authentication in Node.js Explained SimplyIntroduction Most web applications need a way to verify users before giving access to protected data or features. This process is called authentication. For example: Logging into an account Accessin10
SSSubhasis Samantasingharinjs-blog-subhasis.hashnode.dev·May 9 · 4 min readHandling File Uploads in Express with MulterIntroduction Many web applications allow users to upload files such as images, documents, or videos. Handling file uploads is not as simple as handling JSON data because files are sent in a special fo10
SSSubhasis Samantasingharinjs-blog-subhasis.hashnode.dev·May 9 · 3 min readURL Parameters vs Query Strings in Express.jsIntroduction When building APIs or web applications using Express.js, you often need to pass data through URLs. This data can help identify a resource or modify how the server responds. There are two 10