---
title: "Aman Sagar (@sagaraman369) | Hashnode"
description: "Aman Sagar (@sagaraman369) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@sagaraman369"
---

@sagaraman369

# Aman Sagar

@sagaraman369 · Joined January 2026

### [Storing Uploaded Files and Serving Them in Express](https://storinguploadedfilesandservingtheminexpresssagaraman.hashnode.dev/storing-uploaded-files-and-serving-them-in-express?utm_source=hashnode&utm_medium=feed)

In the world of web development, handling file uploads—from profile pictures to project documents—is a cornerstone of user interaction. However, managing these files in an Express.js environment requi

3 min read · [storinguploadedfilesandservingtheminexpresssagaraman.hashnode.dev](https://storinguploadedfilesandservingtheminexpresssagaraman.hashnode.dev/storing-uploaded-files-and-serving-them-in-express?utm_source=hashnode&utm_medium=feed)

[Apr 30](https://hashnode.com/posts/storing-uploaded-files-and-serving-them-in-express/69f3a2d8909e64ad071669f9)

### [Sessions vs. JWT vs. Cookies: Understanding Authentication Approaches](https://sessionsvsjwtvscookiessagaraman.hashnode.dev/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches?utm_source=hashnode&utm_medium=feed)

When building a web application, one of the most critical decisions is how to "remember" a user after they log in. Since HTTP is a stateless protocol, each request is independent. To maintain a logged

4 min read · [sessionsvsjwtvscookiessagaraman.hashnode.dev](https://sessionsvsjwtvscookiessagaraman.hashnode.dev/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches?utm_source=hashnode&utm_medium=feed)

[Apr 30](https://hashnode.com/posts/sessions-vs-jwt-vs-cookies-understanding-authentication-approaches/69f39f8c909e64ad071387ae)

### [Array Methods You Must Know](https://arraymethodsyoumustknowsagaraman.hashnode.dev/array-methods-you-must-know?utm_source=hashnode&utm_medium=feed)

As a JavaScript developer, arrays are your constant companions. Whether you are managing lists of users, processing data from an API, or tracking items in a shopping cart, understanding how to manipul

6 min read · [arraymethodsyoumustknowsagaraman.hashnode.dev](https://arraymethodsyoumustknowsagaraman.hashnode.dev/array-methods-you-must-know?utm_source=hashnode&utm_medium=feed)

[Apr 29](https://hashnode.com/posts/array-methods-you-must-know/69f243a86e0124c05e40a7f2)

### [Async Code in Node.js: From Callback Hell to Promise Paradise](https://asyncinnodesagaraman.hashnode.dev/async-code-in-node-js-from-callback-hell-to-promise-paradise?utm_source=hashnode&utm_medium=feed)

Asynchronous programming is the beating heart of Node.js. If you can’t handle async flow, your application will crawl to a halt, or worse, crash with a stack trace that is impossible to debug. Histori

6 min read · [asyncinnodesagaraman.hashnode.dev](https://asyncinnodesagaraman.hashnode.dev/async-code-in-node-js-from-callback-hell-to-promise-paradise?utm_source=hashnode&utm_medium=feed)

[Apr 29](https://hashnode.com/posts/async-code-in-node-js-from-callback-hell-to-promise-paradise/69f240e86e0124c05e3e63d2)

### [JavaScript Modules: Import and Export Explained](https://avascriptmodulessagaraman.hashnode.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

As your JavaScript applications grow, managing code in a single file becomes messy and hard to maintain. That’s where modules come in. Modules allow you to split your code into smaller, reusable piece

3 min read · [avascriptmodulessagaraman.hashnode.dev](https://avascriptmodulessagaraman.hashnode.dev/javascript-modules-import-and-export-explained?utm_source=hashnode&utm_medium=feed)

[Mar 26](https://hashnode.com/posts/javascript-modules-import-and-export-explained/69c578ff10e664c5da118155)
