How gtsedillo/coen424-project works
Online Boutique is a multilingual, gRPC-based e-commerce demo. The main user journey runs from browsing the web storefront through cart operations and checkout orchestration to payment, shipping, and an order-confirmation email. Product catalog, currency conversion, recommendations, and ads are supporting capabilities. Checkout’s sampled code exposes its service calls; README statements support the broader product map. Some frontend and optional capability links are therefore shown as unverified rather than asserted as source-confirmed calls.
Main entry points: main.go Checkout orchestration · handlers.go Web frontend · ICartStore.cs Cart store interface · CartService.cs Cart service
Components 16
Storefront
- Web frontend
src/frontend/handlers.go
Commerce workflow
- Checkout orchestration
src/checkoutservice/main.go - Currency conversion
src/currencyservice/server.js - Cart service
src/cartservice/src/services/CartService.cs - Mock payment
src/paymentservice/charge.js - Shipping quotes and tracking
src/shippingservice/main.go - Order email
src/emailservice/email_server.py
Shopping capabilities
- Product catalog
src/productcatalogservice/product_catalog.go - Recommendations
src/recommendationservice/recommendation_server.py - Contextual ads
src/adservice/src/main/java/hipstershop/AdService.java
Cart storage
- Cart store interface
src/cartservice/src/cartstore/ICartStore.cs - Redis cart store
src/cartservice/src/cartstore/RedisCartStore.cs - Spanner cart store
src/cartservice/src/cartstore/SpannerCartStore.cs - AlloyDB cart store
src/cartservice/src/cartstore/AlloyDBCartStore.cs
Other components
- Shopper
- Load generator
src/loadgenerator/locustfile.py
Connections 17
- Shopper → Web frontend: browses and buys
README.md - Load generator → Web frontend: sends shopping flows
README.md - Web frontend → Product catalog: requests catalog
- Web frontend → Cart service: updates cart
- Web frontend → Checkout orchestration: places order
- Web frontend → Recommendations: requests recommendations
- Web frontend → Contextual ads: requests ads
- Checkout orchestration → Cart service: reads and empties cart
src/checkoutservice/main.go - Checkout orchestration → Product catalog: gets products
src/checkoutservice/main.go - Checkout orchestration → Shipping quotes and tracking: quotes and ships
src/checkoutservice/main.go - Checkout orchestration → Currency conversion: converts amounts
src/checkoutservice/main.go - Checkout orchestration → Mock payment: charges card
src/checkoutservice/main.go - Checkout orchestration → Order email: sends confirmation
src/checkoutservice/main.go - Cart service → Cart store interface: delegates cart operations
src/cartservice/src/services/CartService.cs - Cart store interface → Redis cart store: implemented by
src/cartservice/src/Startup.cs - Cart store interface → Spanner cart store: implemented by
src/cartservice/src/Startup.cs - Cart store interface → AlloyDB cart store: implemented by
src/cartservice/src/Startup.cs