Posts
I like messing around with small pet projects. Each one teaches me something new, and the best bits end up in my day-to-day work. This blog is mostly for me, but you’re welcome to stick around. Every post comes with the code, so you can clone it, run it, and prove me wrong. I’m always up for a good discussion, so the comments under each post are open. New posts land in RSS.
-
Building MarginCMS, part 2: A Go server generated from the spec
In part 1 I wrote the OpenAPI contract for MarginCMS and planned the backend. In this part the Go service comes to life: a server generated from the spec, config from environment variables, stub handlers that fail properly, and a Docker Compose setup that runs the API, the docs and a mock server with one command.
-
Building MarginCMS, part 1: Contract first, code later
I’m building a small CMS in Go. It’s called MarginCMS, it has a React admin on top, and it won’t replace anything I already use. This series is the build log: what I decided, what I wrote, and what tripped me up along the way.
subscribe via RSS