Configuration

Configuration

We use Dotenv Vault (opens in a new tab) created at the root of the monorepo. Each application within the monorepo has access only to the parameters relevant to it, utilizing prefix filtering tools such as Vite env-and-mode (opens in a new tab), Webpack with @dotenv-run/webpack (opens in a new tab), Jest with @dotenv-run/jest (opens in a new tab), Angular with @ngx-env/builder (opens in a new tab) and dotenv-run (opens in a new tab).

Benefits of Centralized Configuration

  • Single Management Point: Centralized management of all configurations for all applications.
  • Enhanced Security: Reduces the risk of sharing sensitive information between different applications due to prefix filtering.