Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Azure Platform & Topology Overview

Reference architecture for BookWorm's subscription-scoped Azure deployment, shared platform services, and network ingress boundaries.

Platform Reference

BookWorm runs on an Azure Container Apps environment provisioned per resource group across Development, Staging, and Production environments. The platform boundary encompasses public ingress routing via a YARP API Gateway, shared container registry and telemetry infrastructure, and identity-based integration with managed data, AI, and external messaging services.

Platform Topology and Ingress Boundaries

Loading graph...

Component & Responsibility

ComponentRoleProtocol / InterfacePersistence / StateNotes
Container Apps EnvironmentManaged Consumption runtime hosting all 16 application workloads and operational toolingInternal & external HTTP/gRPCStateless orchestrationResource group-isolated
API GatewaySole public entry point for customer/staff frontends and capability APIsExternal HTTPS (port 5000)StatelessYARP reverse proxy; proxies identity routes and enforces CORS
Quartz DashboardAdministrative UI for scheduled job inspection and manual triggeringExternal HTTPS (port 8080)Reads Scheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docs via Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docsProtected by OAuth APIServicev1.0.0OAuth APIExternal OAuth 2.0 and OIDC identity provider API used by BookWorm clients and services to authenticate users, issue tok...Ownerplatform-engineering-teamDiagramOpen docs OIDC (admin role)
Azure Container RegistryStores .NET and Next.js container imagesHTTPS (registry pull)Container image artifactsBasic SKU; pulled via shared environment identity
Environment Managed IdentityShared user-assigned identity for registry image pullsAzure RBAC (AcrPull)Stateless identityBound to Container Apps Environment
Log Analytics WorkspaceCentralized platform and application telemetry sinkOTLP / Azure Monitor30 days (Dev/Staging); 90 days (Prod)Shared across all hosted workloads
Aspire DashboardLive OpenTelemetry logs, distributed traces, and metrics consoleManaged Container Apps componentEphemeral live streamProvisioned per environment

Configuration & Operational Defaults

Network & Ingress Boundary

  • Public gateway entry: External HTTPS traffic enters through the API Gateway.
  • Internal service addressing: All internal apps communicate over environment-internal HTTPS without public exposure.
  • CORS policy: Every routed backend API permits GET, POST, PUT, PATCH, and DELETE with credentials from the gateway browser origin.
  • Internal-only workloads: Frontends (Storefront, Commerce, Backoffice), capability APIs (Catalog, Basket, Ordering, Rating, Chat), MCP Tools (accepts gateway origin CORS), background workers (Catalog Ingestion, Finance, Notification, Scheduler), and privacy sidecars (Presidio Analyzer and Anonymizer on HTTP port 3000) have no public ingress.

API Gateway Route Map

Backend routes match in registration order; the Storefront catch-all route carries the lowest routing priority.

Route patternDestinationRouting behavior
/chatting/{**remainder}Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docsStrips /chatting prefix; preserves host and forwarded headers
/rating/{**remainder}Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docsStrips /rating prefix; preserves host and forwarded headers
/ordering/{**remainder}Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docsStrips /ordering prefix; preserves host and forwarded headers
/basket/{**remainder}Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docsStrips /basket prefix; preserves host and forwarded headers
/catalog/{**remainder}Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docsStrips /catalog prefix; preserves host and forwarded headers
/entra/{**remainder}OAuth APIServicev1.0.0OAuth APIExternal OAuth 2.0 and OIDC identity provider API used by BookWorm clients and services to authenticate users, issue tok...Ownerplatform-engineering-teamDiagramOpen docsStrips /entra prefix; forwards to external identity provider
/backoffice/{**remainder}BackofficeRoutes staff administration microfrontend
/basket, /checkout/*, /account/*, /commerce-assets/*CommerceRoutes customer checkout and account microfrontend
/{**remainder}StorefrontCatch-all storefront microfrontend (lowest priority)

Guardrails & Constraints

Restrict Quartz Dashboard Ingress Before Production

Quartz Dashboard is the second externally reachable workload alongside the API Gateway. Restrict its public network ingress before serving Production traffic; see Production Hardening & Compliance ChecklistCustom DocProduction Hardening & Compliance ChecklistPre-production SecOps and reliability checklist for locking down network perimeters, scaling limits, backup drills, and ...Ownerplatform-engineering-teamOpen doc.

Commerce /basket Route Precedence

The exact Commerce path /basket overlaps with the backend /basket/{**remainder} API prefix. Exact microfrontend routes take precedence so the Commerce page serves bare /basket requests while /basket/... API calls still route to Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs.