bim-twin-viewer/backend/app/__init__.py
warnason 520d55259f
Some checks are pending
CI / backend-lint-and-test (push) Waiting to run
Initial project scaffold: FastAPI backend + Vue.js frontend
- FastAPI with async SQLAlchemy models for IFC elements
- IFC file upload and parsing via IfcOpenShell
- REST API for projects, elements, and properties
- Vue.js 3 frontend shell with Three.js dependency
- Docker Compose for full-stack local development
- PostgreSQL 16 as database
- CI pipeline for Forgejo Actions
- Project documentation and API overview
2026-04-20 11:21:30 +02:00

15 lines
347 B
Python

"""Application configuration via environment variables."""
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str = "postgresql+asyncpg://bim:bim@localhost:5432/bim"
upload_dir: str = "/data/uploads"
max_upload_size_mb: int = 100
model_config = {"env_file": ".env"}
settings = Settings()