How yyursup/e-commerce works
This is a full-stack marketplace with separate customer, seller, and administration React applications backed by a Spring Boot API. The principal customer journey is browse products, manage a cart, checkout, pay, and track orders; sellers manage listings and fulfillment, while administrators oversee orders, escrow, wallets, reports, and platform operations. The graph combines documented README capabilities with sampled service and store relationships; unsampled domain wiring is represented only where documented, and omitted where evidence is insufficient.
Main entry points: QueryProductService.java Product catalog · QueryOrderController.java Checkout and orders · Checkout.jsx Cart and checkout · ShopOrders.jsx Seller management
Components 27
Customer storefront
- Shop and discovery
ecommerce-fe/src/pages/ShopProfile.jsx - Cart and checkout
ecommerce-fe/src/pages/checkout/Checkout.jsx - Customer orders
ecommerce-fe/src/pages/orders/MyOrders.jsx - Profile and wallet
ecommerce-fe/src/pages/Profile.jsx
Seller operations
- Seller management
ecommerce-seller-fe/src/pages/business/ShopOrders.jsx - Seller onboarding
ecommerce-seller-fe/src/pages/SellerRegister.jsx
Administration
- Admin operations
ecommerce-admin-fe/src/pages/admin/AdminCommissions.jsx - Admin live chat
ecommerce-admin-fe/src/pages/admin/AdminLiveChat.jsx
Marketplace backend
- Authentication and accounts
ecommerce/src/main/java/com/marketplace/ecommerce/auth/controller/AuthenticationController.java - Product catalog
ecommerce/src/main/java/com/marketplace/ecommerce/product/service/QueryProductService.java - Cart service
ecommerce/src/main/java/com/marketplace/ecommerce/cart/controller/CartController.java - Checkout and orders
ecommerce/src/main/java/com/marketplace/ecommerce/order/controller/QueryOrderController.java - Payment and escrow
ecommerce/src/main/java/com/marketplace/ecommerce - Shipping
ecommerce/src/main/java/com/marketplace/ecommerce - Reviews
ecommerce/src/main/java/com/marketplace/ecommerce/review/controller/ReviewController.java - Identity verification
ecommerce/src/main/java/com/marketplace/ecommerce/kyc/service/impl/KycOrchestratorService.java - Chat and chatbot
ecommerce/src/main/java/com/marketplace/ecommerce/chat/controller/ChatController.java
External services
- Marketplace database
- MinIO storage
- VNPay
- GHN shipping
- VNPT eKYC
- Mail provider
- Ollama embeddings
Other components
- Customer
- Seller
- Administrator
Connections 29
- Customer → Shop and discovery: browses
README.md - Shop and discovery → Product catalog: queries catalog
README.md - Customer → Cart and checkout: shops
README.md - Cart and checkout → Cart service: updates cart
README.md - Cart and checkout → Checkout and orders: places order
README.md - Customer → Customer orders: tracks orders
README.md - Customer orders → Checkout and orders: queries orders
README.md - Customer → Profile and wallet: manages account
- Seller → Seller onboarding: registers
- Seller → Seller management: operates shop
- Seller management → Product catalog: manages listings
README.md - Seller management → Checkout and orders: manages fulfillment
README.md - Administrator → Admin operations: administers
- Admin operations → Checkout and orders: oversees orders
README.md - Admin operations → Payment and escrow: releases escrow
README.md - Administrator → Admin live chat: handles conversations
- Authentication and accounts → Marketplace database: persists accounts
README.md - Product catalog → Marketplace database: reads catalog
README.md - Cart service → Marketplace database: persists cart
README.md - Checkout and orders → Marketplace database: stores orders
README.md - Payment and escrow → VNPay: processes payment
README.md - Shipping → GHN shipping: arranges shipping
README.md - Identity verification → VNPT eKYC: verifies identity
ecommerce/src/main/java/com/marketplace/ecommerce/kyc/service/impl/KycOrchestratorService.java - Authentication and accounts → Mail provider: sends email
README.md - Product catalog → MinIO storage: stores images
README.md - Chat and chatbot → Customer: replies live
- Chat and chatbot → Seller: replies live
- Product catalog → Ollama embeddings: creates embeddings
README.md - Customer → Reviews: reviews purchase
README.md