Before: The Overengineering Trap

I wanted a personal portfolio with a blog. Simple enough.

But I also wanted to edit content without touching code. So I did what any reasonable developer would do — I started reaching for a CMS.

First came the database. Then the backend API. Then authentication. Then a deployment strategy that could run all of this. Before I knew it, I had designed a system that needed a server, a database connection string, environment variables, and half a dozen services just to serve a few markdown files.

For a portfolio.

The infrastructure cost alone was more than the content would ever generate. Every time I wanted to publish a blog post, I had to maintain a whole backend. The overhead was absurd.

I was spending more time configuring infrastructure than actually writing.

After: Just Content, No Ceremony

I wanted something that felt like writing markdown in a text editor and hitting save. No servers, no databases, no Docker compose files to maintain.

The ideal flow: write content, commit it, and it's live. Static files. Zero runtime overhead. Free hosting. CDN out of the box.

The Bridge: Astro

Astro is the framework that finally made this click.

It renders to static HTML by default — no server needed. Content lives as markdown files in the repo, loaded at build time. You get a full component model (React, Vue, Svelte, or plain HTML) but ship zero JavaScript unless you explicitly opt in.

For my site, the architecture is dead simple:

  • Markdown files in src/content/ — each blog post and portfolio project is a .md file with YAML frontmatter
  • Astro content collections — typed, validated, and loaded at build time
  • Static export — the build outputs plain HTML to dist/, deployable to Netlify, Vercel, Cloudflare Pages, or any static host

Add a local CMS like Keystatic on top and you get a visual editor that writes directly to the same markdown files — no backend required.

The result: I edit content, commit, push, and it's live. Zero infrastructure tax — no servers, no database, no hosting bill.

If you're building a content site and catch yourself reaching for a database, ask whether you actually need one. Astro made me realize I didn't.