From GitHub

TypeScript
Series

20 articles on Node.js and Express, always current, pulled live from GitHub.

14 Node.js articles 6 Express articles Live from GitHub
Filter:
Featured · TypeScript Express Series
#01ExpressTypeScriptMiddleware

Getting Started with TypeScript & Express

Set up a TypeScript Express project from scratch — tsconfig, ts-node, middleware, routing, and the Request/Response objects explained.

8 min read Read article

All Series Articles

02
Express Series #02Express

Integrating MongoDB with TypeScript Express

Connect MongoDB to your Express app using Mongoose — models, schemas, and full CRUD operations with TypeScript.

10 min read
03
Express Series #03Express

Express Error Handling in TypeScript

Build robust error handling — error middleware, custom exception classes, and graceful error responses.

9 min read
04
Express Series #04Express

Express Error Handling Middleware Deep Dive

Chaining error handlers, async errors, and centralised error responses in a production Express API.

8 min read
05
Express Series #05Express

Custom Exceptions for Better Express APIs

Design custom exception hierarchies in TypeScript to produce consistent, structured API error responses.

7 min read
06
Express Series #06Express

Advanced Error Handling Patterns in Express

Production-grade error handling — validation errors, 404 handlers, async wrappers, and unhandled rejection guards.

10 min read
01
Node.js Series #01Node.js

The Basics of Node.js with TypeScript

Explore Node.js fundamentals — modules, the global object, process arguments, and the file system with TypeScript.

8 min read
02
Node.js Series #02Node.js

The Synchronous Nature of EventEmitter

Understand how EventEmitter works synchronously under the hood and powers event-driven programming.

7 min read
03
Node.js Series #03Node.js

Buffers Demystified in Node.js

Master Buffers — Node.js's tool for handling raw binary data. Allocation, encoding, and real-world use cases.

8 min read
04
Node.js Series #04Node.js

Understanding Readable Streams in Node.js

Dive into Readable Streams and learn to consume data efficiently without loading everything into memory.

9 min read
05
Node.js Series #05Node.js

Mastering Writable Streams in Node.js

Explore Writable Streams — backpressure handling and piping for smooth data pipelines.

8 min read
06
Node.js Series #06Node.js

Sending HTTP Requests in Node.js

Make HTTP requests from Node.js using the built-in http/https modules — GET, POST, and handling responses.

7 min read
07
Node.js Series #07Node.js

Creating an HTTP Server in Node.js

Build a raw HTTP server from scratch, handle routing manually, and understand the request/response lifecycle.

9 min read
08
Node.js Series #08Node.js

Implementing HTTPS with Your Own OpenSSL Certificate

Secure your Node.js server with HTTPS using a self-signed OpenSSL certificate — step by step.

8 min read
09
Node.js Series #09Node.js

Navigating the Node.js Event Loop

Deep understanding of the Event Loop — phases, microtasks, macrotasks, and how async code really runs.

11 min read
10
Node.js Series #10Node.js

Creating Child Processes in Node.js

Spawn child processes with spawn, exec, fork — parallelise CPU-bound work and communicate between processes.

9 min read
11
Node.js Series #11Node.js

Node.js Cluster: Sharing Workload Between Processes

Use the cluster module for multi-core CPUs — master/worker architecture and zero-downtime restarts.

10 min read
12
Node.js Series #12Node.js

HTTP/2 in Node.js

Implement HTTP/2 — server push, multiplexing, header compression, and why it matters for performance.

9 min read
13
Node.js Series #13Node.js

Worker Threads in Node.js

Offload CPU-intensive work to Worker Threads — SharedArrayBuffer, message passing, and thread pools.

10 min read
14
Node.js Series #14Node.js

Performance Hooks in Node.js

Measure and profile your Node.js applications using the built-in perf_hooks API — marks, measures, Observer.

8 min read