chimera-config: My Take on Config Management

Every time I get to an existing project, I always have to wonder what configs are required to get started? how are config values defined? What are legitimate values for e.g. environment variables? how do I add my own config values? What patterns are currently being used? And even when those questions are answered, it’s mostly always a matter of type-casting the values. Especially when using process.env, everything is just a string and you have to assume that the value can be parsed as number, integer, JSON, etc. Granted, I don’t always switch projects, but the lack of type-safety and missing documentation around those is still a pain-point in my day-to-day life. Well, not anymore! Over the past couple of months I have been busy building something that (in my humble opinion) is the best way to define and work with configs: chimera-config. ...

February 8, 2026 · 10 min · Simon Hayden

Nx for Code Gen (for Prisma)

One of the more annoying parts of code generators like Prisma, is that you need to run them - obviously. My silly little meat brain is just not capable of remembering what to run in which order before I see the glaring compiler errors in my terminal. But we are developers, so let’s automate it! In this blog post I’ll describe how to use Nx’s dependency system to auto-run any code generation job before building or serving a dev server. ...

March 8, 2025 · 5 min · Simon Hayden

Nestjs + Prisma + Proxy = ♥️

NestJS has first-class support for TypeORM. And while there is some documentation how to use Prisma in NestJS, it basically stops at providing the PrismaClient as a service. I go one step further and want to show you how to inject single tables via repositories instead. Here is the result: ...

February 15, 2025 · 10 min · Simon Hayden

The Ultimate Guide for Deploying to Heroku

Deploying to Heroku is meant to be easy. But with the lack of configuration comes a lack of flexibility. In this blog post I want to show you, what we learned by deploying a Nx + standalone NextJS app to Heroku. And how you can apply our learnings to your project as well! ...

February 15, 2025 · 16 min · Simon Hayden

Signals: a Cautionary Tale About Side Effects

Signals are all the hype right now. Well. At least in the web-framework space. However, not everything is rosy and bloomy. In this blog post I will describe some of the dark sides of (Angular) Signals. ...

August 24, 2024 · 20 min · Simon Hayden

Fixing the SVG Background on Safari

This blog post explores how to fix SVG animations of elements referenced with <use>.

August 22, 2024 · 6 min · Simon Hayden

How I made the Wave background on my landing page

When you visit my page, you are greeted with a nice, wavy background image. In this blog post I will let you know step by step how I created it so you can have it too :)

August 1, 2024 · 11 min · Simon Hayden

Hello World

Hi you 👋 If you are reading this, you have reached the bottom of the barrel. This is my first ever blog post on this site! There is not much content here, so why not go back to the home page?

July 23, 2024 · 1 min · Simon Hayden