How schneidenbach/master-dot-dev-codex-course-live works
This repository is a staged full-stack live-auction demo: each numbered part extends the previous vertical slice, culminating in checkout and cross-stack tracing. A typical user browses auctions, creates one or bids, receives live updates, then sees auction-close and winner-checkout outcomes. The graph emphasizes the final architecture while preserving the documented progression and major capabilities. Some service wiring is supported only by the README or worker excerpts; the graph avoids inferring unshown internal API details.
Main entry points: app.ts Fastify API · App.tsx Web application · notification-worker.ts Notification worker · close-worker.ts Auction close worker
Components 19
Auction experience
- Web application
part-8-cross-stack-debugging/web/src/App.tsx - Auction catalog
part-8-cross-stack-debugging/web/src/catalog.ts - Auction actions
part-8-cross-stack-debugging/web/src/components/BidForm.tsx - Live auction client
part-8-cross-stack-debugging/web/src/liveAuction.ts - Outcome notices
part-8-cross-stack-debugging/web/src/outcomeNotifications.ts
Auction API and state
- Fastify API
part-8-cross-stack-debugging/server/src/app.ts - PostgreSQL
- Realtime gateway
part-8-cross-stack-debugging/server/src/realtime.ts - Redis pub/sub
Close and notifications
- Auction close worker
part-8-cross-stack-debugging/server/src/close-worker.ts - Close processing
part-8-cross-stack-debugging/server/src/auctionClose.ts - Outbox publisher
part-8-cross-stack-debugging/server/src/outboxPublisher.ts - Notification worker
part-8-cross-stack-debugging/server/src/notification-worker.ts - Outcome delivery
part-8-cross-stack-debugging/server/src/notificationDelivery.ts
External services
- RabbitMQ
- Payment integration
part-8-cross-stack-debugging/server/src/payments.ts - Mock Stripe service
stripe-service/src/app.ts - OpenTelemetry tracing
part-8-cross-stack-debugging/server/src/tracing.ts
Other components
- Auction user
Connections 23
- Auction user → Web application: uses
README.md - Web application → Auction catalog: loads listings
part-8-cross-stack-debugging/web/src/App.tsx - Web application → Auction actions: renders actions
part-8-cross-stack-debugging/web/src/App.tsx - Web application → Fastify API: requests auctions
README.md - Auction actions → Fastify API: submits bids
README.md - Fastify API → PostgreSQL: reads and writes
part-8-cross-stack-debugging/server/src/app.ts - Fastify API → Realtime gateway: publishes updates
part-8-cross-stack-debugging/server/src/app.ts - Realtime gateway → Redis pub/sub: fans out
README.md - Redis pub/sub → Live auction client: broadcasts bids
README.md - Live auction client → Web application: updates view
README.md - Auction close worker → Close processing: processes close
part-8-cross-stack-debugging/server/src/close-worker.ts - Auction close worker → PostgreSQL: checks auctions
README.md - Auction close worker → Outbox publisher: publishes events
part-8-cross-stack-debugging/server/src/close-worker.ts - Outbox publisher → RabbitMQ: sends events
README.md - RabbitMQ → Notification worker: dispatches event
part-8-cross-stack-debugging/server/src/notification-worker.ts - Notification worker → Outcome delivery: delivers outcome
part-8-cross-stack-debugging/server/src/notification-worker.ts - Outcome delivery → PostgreSQL: reads outcome
README.md - Notification worker → Redis pub/sub: emits notice
part-8-cross-stack-debugging/server/src/notification-worker.ts - Redis pub/sub → Outcome notices: notifies winner
README.md - Fastify API → Payment integration: handles checkout
part-8-cross-stack-debugging/server/src/app.ts - Payment integration → Mock Stripe service: creates session
README.md - Fastify API → OpenTelemetry tracing: records traces
part-8-cross-stack-debugging/server/src/app.ts - Notification worker → OpenTelemetry tracing: traces delivery
part-8-cross-stack-debugging/server/src/notification-worker.ts