Skip to main content
VeloIQConfig is a Python dataclass accepted by create_veloiq_app(). Every field reads from an environment variable when not set explicitly, so you can configure the application entirely through a .env file following 12-factor app conventions. Override individual fields in code when you need app-specific values that should not come from the environment.

Quick example


Database

Application

CORS

The default cors_origins value in the code differs from the documentation shorthand ["*"] — it permits the standard local dev ports. In production, always set CORS_ORIGINS explicitly to your frontend domain(s).

Auth

Never use the default auth_secret in production. Set AUTH_SECRET to a long, random string before deploying. Any deployment with the default secret is trivially forgeable.

Initial admin seed credentials

These fields control the default admin user created on first startup. Once the user exists in the database, changing them has no effect.

Admin panel

Roles

ReBAC


Environment variable reference


Python API

Full reference for all public symbols exported from veloiq_framework.

CRUD Router

Auto-generated endpoint reference and query parameter details.