Node.js · JavaScript · TypeScript · React · DevOps

Learn to Build with Node.js

In-depth tutorials, practical guides, and real-world patterns from the trenches of web development. No fluff, just code that works.

39 Articles
7 Categories
126,959 Total Reads
22 Comments

Hand-picked pieces that cover fundamental concepts every developer should know

Latest Articles

Fresh content to keep your skills sharp

Node.js Streams: The Complete Guide
Node.js

Node.js Streams: The Complete Guide

Streams are the reason Node.js can handle giant files without running out of memory. Most tutorials explain the theory and skip the parts that actually trip you up. This one doesn't.

11 min read 3,021 views
#node.js streams #backpressure
Continue Reading →
Building a CLI Tool with Node.js
Node.js

Building a CLI Tool with Node.js

I got tired of repeating the same terminal commands, so I built a CLI tool with Node.js over a weekend. Here's how I set up argument parsing, interactive prompts, and published the whole thing to npm.

10 min read 2,272 views
#cli tools #node.js
Continue Reading →
Node.js Cluster Module for High Availability
Node.js

Node.js Cluster Module for High Availability

Our API went down on a Saturday because we were running a single Node process on a single core with no recovery plan. This post walks through what we changed: forking workers with the cluster module, wiring up zero-downtime restarts, managing worker lifecycles, handling sticky sessions, and running it all through PM2 in production.

11 min read 3,072 views
#cluster #high-availability
Continue Reading →
Understanding Buffer and Binary Data in Node.js
Node.js

Understanding Buffer and Binary Data in Node.js

Buffers tripped me up for a while. They're how Node handles raw binary data outside the V8 heap, and once you actually understand what's happening with Buffer.from() and friends, a lot of Node's I/O behavior starts to make sense. Here's what I wish someone had told me earlier.

12 min read 4,071 views
#buffer #binary-data
Continue Reading →
Express.js Middleware Patterns You Should Know
Express.js

Express.js Middleware Patterns You Should Know

Middleware is how Express works. Not just a feature of it -- it is the whole thing. This is the talk I give to every new hire: the five middleware types, execution order, why next() trips everyone up, async error handling, and the patterns we actually use in production.

11 min read 3,618 views
#express #middleware
Continue Reading →