How cobaltcore-dev/aurora-dashboard works
Aurora is a reusable OpenStack cloud-management dashboard: a user navigates project-scoped compute, networking, storage, and identity features in the React client; tRPC requests reach a Fastify BFF, which mediates OpenStack operations. The graph preserves the documented service breadth and the policy and OpenStack-client layers. Some domain modules are represented by their exact source directories because their full implementations were not sampled; those relationships are shown only where documented or visible in the source index.
Main entry points: routers.ts tRPC router · routeTree.gen.ts Routes and views · App.tsx React application · server.ts Fastify BFF
Components 20
Dashboard client
- React application
packages/aurora/src/client/App.tsx - Routes and views
packages/aurora/src/client/routeTree.gen.ts - Project workflows
packages/aurora/src/client/routes/_auth/projects/$projectId/index.tsx - Compute UI
packages/aurora/src/client/routes/_auth/projects/$projectId/compute - Networking UI
packages/aurora/src/client/routes/_auth/projects/$projectId/network - Storage UI
packages/aurora/src/client/routes/_auth/projects/$projectId/storage - tRPC client
packages/aurora/src/client/trpcClient.ts
Aurora BFF
- Fastify BFF
packages/aurora/src/server/server.ts - tRPC router
packages/aurora/src/server/routers.ts - Session identity
packages/aurora/src/server/Authentication/routers/sessionRouter.ts - Project API
packages/aurora/src/server/Project/routers - Compute API
packages/aurora/src/server/Compute/routers - Network API
packages/aurora/src/server/Network/routers - Storage API
packages/aurora/src/server/Storage/routers
OpenStack integration
- OpenStack client
packages/signal-openstack/src/client.ts
Authorization engine
- Policy loader
packages/aurora/src/server/policies/policyEngineLoader.ts - Policy evaluator
packages/policy-engine/src/policyEngine.ts - Rule parser
packages/policy-engine/src/parser.ts
Other components
- Cloud user
- OpenStack cloud
Connections 20
- Cloud user → React application: uses
README.md - React application → Routes and views: creates router
packages/aurora/src/client/App.tsx - Routes and views → Project workflows: routes to
- Routes and views → Compute UI: routes to
- Routes and views → Networking UI: routes to
- Routes and views → Storage UI: routes to
- React application → tRPC client: configures endpoint
packages/aurora/src/client/App.tsx - tRPC client → Fastify BFF: sends tRPC
README.md - Fastify BFF → tRPC router: registers router
packages/aurora/src/server/server.ts - tRPC router → Session identity: dispatches
- tRPC router → Project API: dispatches
- tRPC router → Compute API: dispatches
- tRPC router → Network API: dispatches
- tRPC router → Storage API: dispatches
- Compute API → OpenStack client: calls
packages/aurora/src/server/Compute/routers/imageRouter.ts - Storage API → OpenStack client: calls
- OpenStack client → OpenStack cloud: sends API requests
README.md - Fastify BFF → Policy loader: loads policy
- Policy loader → Policy evaluator: creates evaluator
packages/aurora/src/server/policies/policyEngineLoader.ts - Policy evaluator → Rule parser: parses rules
packages/policy-engine/src/policyEngine.ts