You build your domain.
BVER builds your platform.

BVER is a domain-first ecosystem for building, extending, and connecting engineering systems through a runtime kernel, compiler-driven validation, a dedicated sandbox development environment, a deployment suite, and a capability exchange.

from bver.domain import PlatformDomain
from bver.objects import Reference, DomainModel
from bver.ui import WebApp

class Site(Reference): pass
class Asset(Reference): pass
class WorkOrder(Reference): pass

platform = PlatformDomain(name="operations_platform", version="0.2.0")
platform.add_repository(Site)
platform.add_repository(Asset)
platform.add_repository(WorkOrder)

platform.add_model(DomainModel("AssetCard", fields=["name", "status", "criticality"]))

ops_ui = WebApp(name="ops_console")
ops_ui.page("/dashboard").use("AssetCard").query("Asset.list")
ops_ui.page("/work-orders/:id").bind("WorkOrder")

platform.attach_app(ops_ui)
platform.build("./dist/platform.bdam")
{
  "platform": {
    "name": "operations_platform",
    "version": "0.2.0",
    "references": [
      {"type": "Site", "storage": "repository"},
      {"type": "Asset", "storage": "repository"},
      {"type": "WorkOrder", "storage": "repository"}
    ],
    "domain_models": [
      {
        "name": "AssetCard",
        "fields": ["name", "status", "criticality"]
      }
    ],
    "apps": [
      {
        "name": "ops_console",
        "surface": "web_app_gui",
        "pages": [
          {"route": "/dashboard", "query": "Asset.list"},
          {"route": "/work-orders/:id", "bind": "WorkOrder"}
        ]
      }
    ]
  }
}
[bver-build] platform=operations_platform version=0.2.0
[bver-build] validating references: Site, Asset, WorkOrder
[bver-build] validating domain models: AssetCard
[bver-build] validating app surface: ops_console (web_app_gui)
[bver-build] emitting graph: ./dist/platform.bdam
[bver-build] status=SUCCESS duration_ms=842