Build and Debug a Small REST API with Node.js
Build a dependency-free REST API with Node.js, test it from the terminal, and use a repeatable debugging workflow when requests fail.

About me
Blog
Notes on computer networks, programming and the way I work — written to share what I learn.
Build a dependency-free REST API with Node.js, test it from the terminal, and use a repeatable debugging workflow when requests fail.
A practical, from-scratch guide to IPv4 addresses, subnet masks and CIDR — with worked examples you can follow along.
Follow a single browser request through the full DNS lookup chain, from your local cache to the root servers and back.
A clear comparison of the two core transport protocols — reliability versus speed — and when to reach for each one.
Understand the request/response cycle, status codes and the conventions that make a REST API predictable and pleasant to use.
Stop guessing about asynchronous JavaScript — a clear mental model for Promises, the event loop, and modern async/await syntax.
Newsletter
Join the newsletter to receive my latest articles. No spam, unsubscribe anytime.
You'll get a confirmation email. Check your inbox to complete your subscription.