Skip to content
inzane.work

Configuration

How configuration is typically structured across products.

Products in this catalog favor plain configuration files over admin panels, so changes can be reviewed and version-controlled like any other code change.

Example configuration file

export const config = {
  name: "My Deployment",
  defaultRole: "member",
  retentionDays: 30,
};

Environment-specific overrides

Where a setting differs between environments, prefer an environment variable over a hardcoded value, and document the default in the configuration file itself.