How pod5-devops-team-dgwit/ecommerce-project-application-dgwi works
Astronomy Shop is a distributed telescope e-commerce application, with web and mobile storefronts backed by independently implemented services. The main user journey is browsing products and recommendations, managing a cart, then placing an order through checkout, which obtains shipping costs, charges payment, sends confirmation, and can publish order events for downstream processing. The README also identifies advertising, AI-assistant, feature-flag, and platform capabilities. Some service-to-service topology is not shown in the excerpts, so uncertain links are omitted or marked dashed; this map covers application runtime, not deployment automation.
Main entry points: main.go Checkout · pages Web storefront · app Mobile storefront · CartService.cs Cart service
Components 22
Storefronts
- Web storefront
src/frontend/pages - Mobile storefront
src/react-native-app/app
Commerce services
- Product catalog
src/product-catalog/main.go - Recommendations
src/recommendation/recommendation_server.py - Advertising
src/ad/src/main/java/oteldemo/AdService.java - Cart service
src/cart/src/services/CartService.cs - Valkey cart store
src/cart/src/cartstore/ValkeyCartStore.cs - Checkout
src/checkout/main.go - Shipping and quotes
src/shipping/src/shipping_service.rs - Currency conversion
src/currency/src/server.cpp - Payment
src/payment/charge.js - Order email
src/email/email_server.rb
Order processing
- Accounting consumer
src/accounting/Consumer.cs - Fraud detection
src/fraud-detection/src/main/kotlin/frauddetection/main.kt
AI assistant
- Chat interface
src/chatbot/src/chat_interface/chat_interface.py - AI agent
src/agent/src/agents/agents.py - Shop MCP server
src/mcp/src/mcp_server/astronomy_shop_mcp_server.py
Platform services
- Feature-flag UI
src/flagd-ui/lib/flagd_ui_web/router.ex - Load generator
src/load-generator/locustfile.py
Other components
- Shopper
- PostgreSQL catalog
- Kafka broker
Connections 20
- Shopper → Web storefront: browses and orders
- Shopper → Mobile storefront: shops
- Web storefront → Product catalog: requests products
- Web storefront → Recommendations: requests suggestions
- Web storefront → Advertising: requests ads
- Web storefront → Cart service: manages cart
- Web storefront → Checkout: places order
- Mobile storefront → Cart service: manages cart
- Mobile storefront → Checkout: places order
- Product catalog → PostgreSQL catalog: queries catalog
src/product-catalog/main.go - Cart service → Valkey cart store: reads and writes
src/cart/src/services/CartService.cs - Checkout → Shipping and quotes: requests quote
src/checkout/main.go - Checkout → Payment: charges payment
src/checkout/main.go - Checkout → Order email: sends confirmation
src/checkout/main.go - Checkout → Kafka broker: publishes order
src/checkout/main.go - Checkout → Accounting consumer: order events
- Checkout → Fraud detection: order processing
- Web storefront → Currency conversion: converts prices
- Chat interface → AI agent: assistant requests
- AI agent → Shop MCP server: uses tools