Skip to content

Environment variables ​

The frontend reads the following environment values. Do not put passwords, tokens, or private API keys in VITE_* values because Vite makes them available to the client bundle.

VariableRequired in source validationPurposeSafe example
VITE_API_BASE_URLYes: validateEnvironment() warns when absentBase URL for frontend API requests; fallback in config is http://localhost:3000/apihttps://api.example.com/api
VITE_API_TIMEOUTNo; fallback is 10000Axios request timeout in milliseconds30000
MODEVite-provided; not listed as requiredApp environment selection, used by configuration and development loggingdevelopment

The project also has backend environment variables, but they are not frontend variables and should be managed separately on the server. This page intentionally includes no live environment values.

Source: front/src/config/environment.ts, front/src/services/api/api.ts.