I mostly do the back end
Schemas, migrations, sign-in, AWS, and the details that decide if you can still trust the thing three months in. All of this is from the five apps I built at Hangar Marketing.
The hard parts
FAA dates
How long a medical lasts depends on how old you were on the day of the exam. A flight review runs to the end of the month no matter what day you flew it. FlightOps works these out exactly and shows how it got there.
An audit log you can only add to
A database trigger blocks everything else. Row-level security wasn't enough because it doesn't apply to whoever owns the table.
Never charge twice
In B6 Billing every charge reserves its key before anything else happens. If the same request comes in again it finds the key and stops.
Exact matches
Client Reporting has to find each client in all the other systems by name. It only links on an exact match with no look-alikes. Anything else gets marked "needs review" and a person picks.
One snapshot a week
You can't work out last quarter's churn from a system that only knows about today. Executive Intelligence saves a snapshot every week and never touches it again.
Moving the database
I moved Traffic Control off its first host without changing any page code. The app was written to talk to PostgREST, so I wrote something that answers like PostgREST on top of plain Postgres.
Learned the hard way
No report beats a wrong one
If a report doesn't generate, somebody notices. If it links the wrong account, nobody goes looking. An early version of Client Reporting did that.
Put the rule in the database
If a rule only lives in people's habits, some later migration is going to take it out. One of the FlightOps tests tries to change an old row and only passes if Postgres throws an error.
It worked in the demo
A feature that looks done and then breaks in week three costs more than a missing one, because somebody already promised it.


What I use
Ask me and I'll
walk you through it
Rexburg, Idaho. I'm open to backend, platform and infrastructure jobs.
