Skip to content

- Blog
- Open Source
category /Open Source
08 posts
01
Your framework shouldn’t be a black box in node_modules
Debugging into node_modules and finding a fix you cannot safely make. Here is how to own your framework code in your repo and still…
OPEN SOURCE /
↗
02
Test your API as every role before someone else does
Happy-path tests prove what a user can do. Access bugs live in what they cannot do. Here is how I test every route as…
OPEN SOURCE /
↗
03
Why your SSH client probably shouldn’t need an account
Your saved SSH hosts are a map of your infrastructure. Here is where that map lives in a synced client, the plain manual setup…
OPEN SOURCE /
↗
04
I rewrote my own framework and deleted five of every six files
CalmAPI 1.x made you write six files for one simple module. Here is why I threw that design away, what one resource file does…
OPEN SOURCE /
↗
05
What I wish someone told me before I wrote my tenth Express API
The setup work every Express API repeats: folders by resource, validation at the edge, one error format, access rules on every route, and a…
OPEN SOURCE /
↗
06
Why I stopped trusting “it works on my machine” for MongoDB queries
A MongoDB query that takes 4 ms on your laptop can crawl in production. Here is how I read explain output, order compound indexes…
OPEN SOURCE /
↗
07
How I edit files on a server without installing anything on it
Vim on the box, scp round trips, sshfs, VS Code Remote SSH. Every way of editing a file on a server either leaves something…
OPEN SOURCE /
↗
08
Production safety is not a setting. It is an architecture decision.
There is a particular half second I want to talk about. You have four connections open. Two of them are named something like shop-prod…
OPEN SOURCE /
↗