What is Middleware in Express and How It Works1. 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. Apr 23 · 4 min readdskwebdev.hashnode.dev
Sessions vs JWT vs Cookies: Understanding Authentication Approaches1. 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 inApr 17 · 4 min readdskwebdev.hashnode.dev
REST API Design Made Simple with Express.jsIn 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 menApr 16 · 5 min readdskwebdev.hashnode.dev
Destructuring in JavaScript1. 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 noMar 26 · 3 min readdskwebdev.hashnode.dev
Map and Set in JavaScript1. 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, andMar 26 · 3 min readdskwebdev.hashnode.dev