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

Read the architecture guide →

Technical Context

External-facing channels and protocols that realize the BookWorm business context.

Architecture

This view describes only the interfaces exposed across the BookWorm system boundary. It does not show internal communication, implementation components, or infrastructure topology.

Technical Context and Channel Diagram

Loading graph...

Business-to-Technical Mapping Table

External PartnerBusiness Input/OutputTechnical Channel & ProtocolData FormatAuth / SecurityNotes / SLA
CustomersSubmit searches, basket changes, checkout requests, questions, and reviews; receive catalog, basket, order, recommendation, and review informationHTTPS web channel, bidirectionalHTML pages and JSON application dataIdentity-provider authentication; secure sessionsProposed: 99.9% availability; p95 up to 500 ms for browse/basket and 2 s for checkout
Store AdministratorsSubmit catalog, order, and review decisions; receive worklists and status informationHTTPS web channel, bidirectionalHTML pages and JSON application dataAuthenticated administrative session with role checksUses the customer interface capacity targets; no separate administrative SLA
Identity ProviderReceives sign-in requests and provides identity confirmation and user rolesOAuth 2.0 / OpenID Connect over HTTPSOIDC redirects and signed tokensIssuer, audience, signature, expiry, and role validationProvider availability and token lifetime follow the identity-provider tenant SLA
AI ServiceReceives book and feedback context; provides recommendations, conversation responses, and summariesHTTPS request-responseJSONCredential or workload authentication; encrypted transportProposed timeout 30 s; 3 attempts with capped backoff; output quality is not signed off
Email Delivery ProviderReceives order, account, and notification email content; may report delivery failuresSMTP over TLSMIME email messageSMTP credentials or equivalent provider authenticationRelay timeout 45 s; transient submissions retry 3 times; inbox delivery SLA is unverified

Key Interface Notes

Web channels

  • Customer operations target p95 browse/basket latency of 500 ms, checkout latency of 2 s, p99 at most 2x p95, and unexpected errors below 1%.
  • Apply load protection of 100 concurrent requests and 30 requests/minute per IP; reject additional load with a clear retry message.
  • Administrative activity shares the web channel but has no separate measured SLA.

Identity and AI

  • Identity: Microsoft Entra ID is the provider. Validate issuer, audience, signature, expiry, and role claims; allow 10 s for sign-in or token validation. Provider downtime and token lifetime follow the provider’s tenant policy.
  • AI: Microsoft Foundry is the provider. Allow 30 s per request, use at most 3 attempts with capped backoff, and limit requests to 20/minute per IP and 10 requests per 30 s per user. Unsuitable or unavailable model output must use an explicit degraded result.

Email

  • SendGrid is used in cloud environments and Mailpit in local environments.
  • A relay submission times out after 45 s; retry transient failures up to 3 times with 1 s exponential backoff.
  • Relay acceptance does not prove inbox delivery. Bounce handling and final delivery status remain unverified.

Other channels

  • No file drops, webhooks, hardware interfaces, or external message-broker integrations are defined for the current business context.