---
title: "Diwya sudarshan kaushik (@DSKaushik) | Hashnode"
description: "Fear is not good for great. Read the latest articles by Diwya sudarshan kaushik on Hashnode."
url: "https://hashnode.com/@DSKaushik"
---

@DSKaushik

# Diwya sudarshan kaushik

@DSKaushik · Jaipur · Joined January 2026

Fear is not good for great

### [What is Middleware in Express and How It Works](https://dskwebdev.hashnode.dev/what-is-middleware-in-express-and-how-it-works?utm_source=hashnode&utm_medium=feed)

1\. What is Middleware? At its core, middleware is a function that has access to the Request object (req), the Response object (res), and the next function in the application’s request-response cycle.

4 min read · [dskwebdev.hashnode.dev](https://dskwebdev.hashnode.dev/what-is-middleware-in-express-and-how-it-works?utm_source=hashnode&utm_medium=feed)

[Apr 23](https://hashnode.com/posts/what-is-middleware-in-express-and-how-it-works/69ea5c0b904b915438a2c91e)

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

1\. The Building Blocks: Cookies, Sessions, and JWTs Before comparing strategies, let's define the tools we use to identify users. What are Cookies? A Cookie is a small piece of data stored directly in

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

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

### [REST API Design Made Simple with Express.js](https://dskwebdev.hashnode.dev/rest-api-design-made-simple-with-express-js?utm_source=hashnode&utm_medium=feed)

In the world of web development, a REST API acts as the bridge between the client (the frontend) and the server (the backend). Think of it as a waiter in a restaurant: you (the client) look at the men

5 min read · [dskwebdev.hashnode.dev](https://dskwebdev.hashnode.dev/rest-api-design-made-simple-with-express-js?utm_source=hashnode&utm_medium=feed)

[Apr 16](https://hashnode.com/posts/rest-api-design-made-simple-with-express-js/69e10c2bb67a275a9d4f8744)

### [Destructuring in JavaScript](https://dskwebdev.hashnode.dev/destructuring-in-javascript?utm_source=hashnode&utm_medium=feed)

1\. What Destructuring Means At its core, destructuring is a convenient way to extract data from arrays or objects into distinct variables. Instead of accessing items one by one using indices or dot no

3 min read · [dskwebdev.hashnode.dev](https://dskwebdev.hashnode.dev/destructuring-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 26](https://hashnode.com/posts/destructuring-in-javascript/69c57bc310e664c5da145c2d)

### [Map and Set in JavaScript](https://dskwebdev.hashnode.dev/map-and-set-in-javascript?utm_source=hashnode&utm_medium=feed)

1\. What is a Map? A Map is a collection of key-value pairs, just like objects — but more powerful. However, the primary difference is that Map allows keys of any type—including functions, objects, and

3 min read · [dskwebdev.hashnode.dev](https://dskwebdev.hashnode.dev/map-and-set-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 26](https://hashnode.com/posts/map-and-set-in-javascript/69c56f3010e664c5da07a732)
