Message Flow

Message Flow A sequence diagram generated by Archify. GET / index.html + assets { GET /api/products/ SELECT * FROM smartshop_product product rows { JSON { render catalogue cards { click Buy (authenticated) POST /api/buy/ { product_id } INSERT purchase_order SELECT orders WHERE user_id = ... order history { read GEMINI_API_KEY key or None { generate_content(prompt) AI comma-separated product names { { AIrecommend, AllProducts, method } { show recommendations + method badge { Browser · Sequence participant Browser FE · Sequence participant FE BE · Sequence participant BE DB · Sequence participant DB Disk · Sequence participant Disk Gemini · Sequence participant Gemini Legend default message

Exchange

  • • 18 messages between 6 parties