# bim

BIM / 3D-модели. Namespace: `bim`.

```mermaid
flowchart LR
    GW[Istio Gateway]:::infra
    PG[(PostgreSQL)]:::data
    S3[S3 Proxy]:::infra
    MinIO[(MinIO)]:::data
    Kafka[[Kafka]]:::msg
    KC[Keycloak]:::idp
    CDE[cde]:::peer
    Process[processing]:::peer

    subgraph NS["ns: bim"]
        Backend[deployment: backend<br/>Service]:::comp
    end

    GW -->|/bim| Backend
    CDE -->|REST| Backend
    Backend --> PG
    Backend -->|IFC/RVT| S3 --> MinIO
    Backend -->|REST| Process
    Backend -->|produce bim.processed| Kafka
    Backend -. JWT .-> KC

    classDef comp fill:#ec4899,stroke:#9d174d,stroke-width:2px,color:#fff
    classDef peer fill:#fce7f3,stroke:#9d174d,color:#000
    classDef data fill:#10b981,stroke:#065f46,color:#fff
    classDef infra fill:#0ea5e9,stroke:#075985,color:#fff
    classDef msg fill:#ef4444,stroke:#991b1b,color:#fff
    classDef idp fill:#f59e0b,stroke:#92400e,color:#fff
    style NS fill:#fdf2f8,stroke:#ec4899,stroke-width:2px
```
