Book a call

blog /

Notes from the people who ship it.

Architecture decisions, cloud bills we cut, the open-source tools we maintain, and where AI helped. Written by the engineers who did the work.

More from the build

Annotated code card: User.find(req.query) circled in red with the note "the URL writes your query", a sticky note saying Allowlist first, then query, and a GET /api/users?email[$ne]=x 200 OK chip.

open source /

Stop passing req.query straight into MongoDB

Model.find(req.query) is one line with three risks: private fields, operator injection and unbounded reads. How Express 4 and 5 parse query strings, and the allowlist fix I use.

ai /

AI can make it fast, but only people can make it right.

I’m a designer at Broadifi, and I keep noticing the same thing about AI generated design: so much of it looks alike. Scroll through any social feed and you’ll see posters, banners and app screens that are almost identical.

Poster reading Don't rewrite yet, next to a gateway.js card that routes rebuilt endpoints to new code and everything else to the old app

vibe coding rescue /

Rewrite or refactor, and how I actually decide

Founders with messy, AI-built or inherited code keep asking me if they should start over. Here is the honest process I use to choose between a refactor, a full rewrite, and the module by module path in between.

Dark code editor showing an access test where another user should get 404 for an order, next to a request card showing 200 OK instead of 404

open source /

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 anonymous, owner, another user and admin, plus the probes people forget.

Read by topic