Application Configuration
Where app configuration lives in the current codebase.
Configuration is split across environment variables, typed config files, and a few route-local config modules.
Main Locations
| Area | Location |
|---|---|
| app settings | apps/web/src/config/app.config.ts |
| account mode | apps/web/src/config/account-mode.config.ts |
| feature flags | apps/web/src/config/feature-flags.config.ts |
| auth config | apps/web/src/config/auth.config.ts |
| sidebar navigation | apps/web/src/config/navigation.config.tsx |
| locale messages | packages/i18n/src/messages/<locale>/*.json |
Environment files are loaded by Vite from apps/web/.env*. Public values use the VITE_ prefix and are read via import.meta.env.VITE_*.
How to Choose
- use env vars for values that change by environment
- use
apps/web/src/config/*.tsfor typed app config - edit
navigation.config.tsxwhen the value depends on the app sidebar structure
Topics
Next: App Configuration →