Neon · Branching · DevOps
Building an HR suite for a small pediatric practice on free tiers (and Neon branches)
I built an HR suite for my wife's pediatric practice on free tiers. Branching the Neon database on every push is what let me stop hand-reviewing migrations and get some sleep.
Share on LinkedInHow it started
By day, I’m a Sr. Staff Engineer on Lakebase / Neon Postgres at Databricks. By night, I’m the Director of IT for my pediatrician wife’s private practice in Spencerport, NY (Dr. Danielle Renodin-Mead on Facebook). She’s in startup mode right now, so we’re looking at what software she’s going to need to run the business.
This all started because I needed something to track office equipment and the like. For simplicity, I wanted to print a QR label, stick it on the ‘thing’, and let anyone scan it with their phone camera to pull up that asset. It had to work on mobile and desktop browsers; my experience has been in backend systems and databases, I’m notoriously bad at web design. I needed some help with the UI, that’s where Claude came in.
Agentic Development
This was my first foray into pure agentic development of a greenfield project. I work at relatively large enterprises with existing infrastructure, and on large codebases that already exist. At my wife’s practice, I’m IT :-)
I’ve been Postgres-ing for 22 years so there’s no question about the datastore, I did spend some time thinking through my hosting though. I needed a place to host the database that wouldn’t break my budget of $0 (my wife tells people that I’m paid in lollipops because I’m a sucker).
An asset tracker for a small office is only going to get used sporadically; a few hours for the first month and then mostly offline. I just need it to wake instantly when I open the webpage (without having to make API calls and deal with waking it myself). Neon does this perfectly.
Postgres Deployment
Local Dev: Claude started using PGlite.dev to rapidly iterate on things locally and in memory. It provisions a new db, and lets me test things without a full-blown Postgres backend.
Production: I settled on Neon for production. Instant wake-on-connect is a game changer, the database can be asleep for a month and it’s up within 1 second of the connection request (i.e. someone pulls up the asset tracker in a browser).
Build the app
It took me about 18 commits to get a functional asset tracker up and running. I build in Claude Code, push to GitHub, and GitHub Actions tests everything before deploying the application.
One day, while minding my own business, the wheels all came off:

Claude and I spent 60 commits over the next four nights, and now the asset tracker is but one menu-item in a small HR suite. Built on about 23,000 lines of TypeScript + SQL, it’s morphed from an asset app that only I would use to ‘Practice Home’ which will be used by all employees on their laptops and their phones.

I’ve seen the fallout from database migrations gone wrong, and I was very worried about letting Claude make schema changes without testing. I had a rule that Claude had to let me manually inspect all schema changes prior to deployment. This meant that while I could send a group of agents on a series of tasks to build, I ended up sitting at my computer, waiting for reviews to pop up so that I could manually read the code. Very quickly, this was the thing that literally kept me up until 2 AM every night. My stodgy, old development habits weren’t going to work any longer. If I wanted to get sleep, I needed to remove the slowest part of the devloop: me, the human.
Branching the database with the code
When I add a new feature, my agents write their code in git on a branch. That’s a full clone of all your code, and you can make changes without affecting the original code. Neon and Lakebase Postgres do this exact same thing, but for the entire database.
Whenever I push new code to the project, my pipeline creates a new branch of the database in ~5 seconds and applies the migrations. I have a clone that has all of the same schema, permissions, AND ALL DATA. In testing, branching performance has no degradation even to 5 TB in size.
That’s what took me out of the loop. Every schema change my agents write gets migrated, deployed and clicked through on that clone before it reaches anyone at the practice. I stopped hand-reviewing migrations, and I started getting sleep again.

What I learned
Branching the database is what let one part-time IT person push 60 commits in four nights into an app people rely on for their pay and their time off, without me losing sleep over it. One more thing I’d pass along:
Make the database part of the deploy, not a separate chore. When migrations run in the same workflow as the code, in the right order, and on a copy of production first, schema changes stop being the scary part of a release.
Wrapping up
A small business really can run serious internal software for nothing: serverless Postgres and a pipeline where every change gets its own copy of production. The free tiers take care of the hosting, and the branching is what makes it safe to keep changing things.
If you run IT for a small office, a clinic or a nonprofit, I’d start with the database workflow before worrying about frameworks. Get branch, migrate, preview and promote working on day one, and the features can come as fast as people ask for them (and trust me, they will ask).
There’s plenty I didn’t get to here: Access with Entra groups, a Teams bot without the Bot Framework SDK, and printing QR labels on a thermal printer that can’t quite reach the edges of the label. I’ll cover these in a future post, so let me know in the comments which one you’d like first. In the meantime, keep on practicing the pgCraft :)
