RuntimeCheck - Run a set of system checks on application start up

Hi,
I made a small library, RuntimeCheck, that allows you to define a set of “checks” that run when the application starts and must pass for the application to boot. If any check fails, the app fails to start.

We use it for things like ensuring that some env vars are set if a feature flag is enabled or make sure that some data in the DB is present and consistent.

7 Likes