✕ Clear all filters
42 articles

📰 Dev.to · Pratham

42 articles · Updated every 3 hours · View all reads

All Articles 75,444Blog Posts 102,388Tech Tutorials 18,459Research Papers 16,003News 13,146 ⚡ AI Lessons
Sessions vs JWT vs Cookies: Understanding Authentication Approaches
Dev.to · Pratham 🔧 Backend Engineering ⚡ AI Lesson 3w ago
Sessions vs JWT vs Cookies: Understanding Authentication Approaches
Three terms that get mixed up constantly — and a clear guide to what each one actually does. When...
REST API Design Made Simple with Express.js
Dev.to · Pratham 3w ago
REST API Design Made Simple with Express.js
How to design clean, predictable APIs that any developer can understand in 5 seconds. Before I...
What Is Middleware in Express and How It Works
Dev.to · Pratham 3w ago
What Is Middleware in Express and How It Works
The checkpoint system between request and response — where logging, authentication, and validation...
URL Parameters vs Query Strings in Express.js
Dev.to · Pratham 3w ago
URL Parameters vs Query Strings in Express.js
Two ways to pass data through URLs — and knowing when to use each one. When I first started...
Creating Routes and Handling Requests with Express
Dev.to · Pratham 3w ago
Creating Routes and Handling Requests with Express
How Express turns Node.js from "I can build a server" to "I can build a server in 5 minutes." In...
Setting Up Your First Node.js Application Step-by-Step
Dev.to · Pratham 3w ago
Setting Up Your First Node.js Application Step-by-Step
From zero to "Hello World" server — no frameworks, no magic, just pure Node.js. There's a special...
Async Code in Node.js: Callbacks and Promises
Dev.to · Pratham 3w ago
Async Code in Node.js: Callbacks and Promises
The two patterns that make Node.js non-blocking — and how one evolved from the other. Every...
Blocking vs Non-Blocking Code in Node.js Blocking vs Non-Blocking Code in Node.js
Dev.to · Pratham 3w ago
Blocking vs Non-Blocking Code in Node.js Blocking vs Non-Blocking Code in Node.js
The difference between a server that freezes under load and one that handles thousands of users...
How Node.js Handles Multiple Requests with a Single Thread
Dev.to · Pratham 3w ago
How Node.js Handles Multiple Requests with a Single Thread
One chef, one kitchen, a hundred orders — and nobody's food is late. If I told you a restaurant...
The Node.js Event Loop Explained
Dev.to · Pratham 3w ago
The Node.js Event Loop Explained
The invisible task manager that makes single-threaded JavaScript handle thousands of...
Why Node.js Is Perfect for Building Fast Web Applications
Dev.to · Pratham 🔧 Backend Engineering ⚡ AI Lesson 3w ago
Why Node.js Is Perfect for Building Fast Web Applications
How one thread, a smart event loop, and non-blocking I/O let Node.js handle thousands of requests...
What Is Node.js? JavaScript on the Server Explained
Dev.to · Pratham 3w ago
What Is Node.js? JavaScript on the Server Explained
How one runtime changed everything — and made JavaScript a full-stack language. For the longest...
Error Handling in JavaScript: Try, Catch, Finally
Dev.to · Pratham 3w ago
Error Handling in JavaScript: Try, Catch, Finally
How to write code that breaks gracefully instead of crashing spectacularly. Here's what happens...
Async/Await in JavaScript: Writing Cleaner Asynchronous Code
Dev.to · Pratham 3w ago
Async/Await in JavaScript: Writing Cleaner Asynchronous Code
Asynchronous code that reads like synchronous code — because sometimes the best upgrade is better...
JavaScript Promises Explained for Beginners
Dev.to · Pratham 3w ago
JavaScript Promises Explained for Beginners
The cure for callback hell — and a cleaner way to handle things that take time. In the last...
Callbacks in JavaScript: Why They Exist
Dev.to · Pratham 3w ago
Callbacks in JavaScript: Why They Exist
Functions that call other functions — and why that's the foundation of everything async. Here's...
Synchronous vs Asynchronous JavaScript
Dev.to · Pratham 3w ago
Synchronous vs Asynchronous JavaScript
Why JavaScript doesn't just wait around — and how that changes everything about how you write...
Understanding Object-Oriented Programming in JavaScript
Dev.to · Pratham 3w ago
Understanding Object-Oriented Programming in JavaScript
How to think in blueprints and objects — and write code that scales. For a while, I wrote...
The `new` Keyword in JavaScript
Dev.to · Pratham 3w ago
The `new` Keyword in JavaScript
How JavaScript creates objects from blueprints — and what actually happens behind the scenes. At...
The Magic of `this`, `call()`, `apply()`, and `bind()` in JavaScript
Dev.to · Pratham 3w ago
The Magic of `this`, `call()`, `apply()`, and `bind()` in JavaScript
How to take control of this — and borrow functions like a pro. In a previous article, I covered...