How nguyentrandinhhieu2017-dev/cnpm_24ct1 works
This Spring Boot application is a product-auction web app. Users browse/search products, inspect auction activity, and place bids; bids are validated and persisted before live updates are broadcast. Separate flows handle account registration/login/profile recovery, admin product management, a product-advice chatbot, and a QR-code checkout page. The graph reflects sampled controllers and repositories plus named subsystems in the tree; no README was provided, and several controllers/entities are represented only at their known directory paths.
Main entry points: BidController.java Place bid · ProductRepository.java Product catalog · HomeController.java Auction detail · ChatbotController.java Product chatbot
Components 15
Web experience
- Browse products
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/HomeController.java - Product catalog
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/repository/ProductRepository.java - Auction detail
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/HomeController.java - QR checkout
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/PaymentController.java
Auction workflow
- Bid history
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/repository/BidRepository.java - Auction sessions
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/repository/AuctionRepository.java - Place bid
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/BidController.java - Live bid updates
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/config/WebSocketConfig.java
Accounts and administration
- Account workflows
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/UserController.java - User accounts
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/repository/UserRepository.java - Product administration
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/AdminController.java
External services
- Product chatbot
src/main/java/_CT1_NGUYEN_TRAN_DINH_HIEU/controller/ChatbotController.java
Other components
- Visitor
- Gemini API
- Bid subscribers
Connections 21
- Visitor → Browse products: browse
- Browse products → Product catalog: queries
- Visitor → Auction detail: inspect
- Auction detail → Product catalog: loads product
- Auction detail → Auction sessions: loads session
- Auction detail → Bid history: loads history
- Visitor → Place bid: submits bid
- Place bid → User accounts: loads bidder
- Place bid → Product catalog: loads product
- Place bid → Auction sessions: finds or saves session
- Place bid → Bid history: checks and saves bids
- Place bid → Live bid updates: publishes price
- Live bid updates → Bid subscribers: broadcasts
- Visitor → Account workflows: registers or signs in
- Account workflows → User accounts: reads and saves account
- Visitor → Product administration: manages products
- Product administration → Product catalog: reads and writes
- Visitor → QR checkout: opens checkout
- Visitor → Product chatbot: asks advice
- Product chatbot → Product catalog: loads inventory
- Product chatbot → Gemini API: sends prompt