How rupeshkeesaram/medisupply-demo works
MediSupply is a fictional pharmacy procurement portal. Pharmacy staff sign in, search the catalog, build and quote a cart, then submit an order that reserves stock; they can track and cancel eligible orders. Administrators adjust inventory and advance fulfillment. The graph follows the browser-to-HTTP workflow and the sampled server, order-policy and SQLite layers. Dashboard and inventory views are documented capabilities, but their complete implementations were not sampled, so their internal links are omitted where evidence is unavailable.
Main entry points: app.js Portal UI · store.py Workspace storage · server.py Cart and order API · orders.py Quotation and cart pricing
Components 14
Browser portal
- Portal UI
static/app.js - Dashboard view
static/app.js - Inventory view
static/app.js - Order history and tracking
static/app.js
HTTP application
- Session access
server.py - Catalog and quote API
server.py - Cart and order API
server.py - Fulfillment and inventory API
server.py
Ordering domain
- Catalog policy
orders.py - Quotation and cart pricing
orders.py - Order lifecycle
orders.py
Workspace persistence
- Workspace storage
store.py
Other components
- Pharmacy staff
- Distribution admin
Connections 19
- Pharmacy staff → Portal UI: uses
README.md - Distribution admin → Portal UI: uses
README.md - Portal UI → Session access: requests session
static/app.js - Portal UI → Catalog and quote API: requests catalog
static/app.js - Portal UI → Cart and order API: requests cart
static/app.js - Portal UI → Dashboard view: renders
static/app.js - Portal UI → Inventory view: renders
static/app.js - Portal UI → Order history and tracking: renders
static/app.js - Session access → Workspace storage: loads and saves
server.py - Catalog and quote API → Catalog policy: builds product views
server.py - Catalog and quote API → Quotation and cart pricing: calculates quote
server.py - Cart and order API → Quotation and cart pricing: prices cart
server.py - Cart and order API → Order lifecycle: creates orders
server.py - Cart and order API → Workspace storage: updates workspace
server.py - Fulfillment and inventory API → Order lifecycle: advances orders
server.py - Fulfillment and inventory API → Workspace storage: updates inventory
server.py - Catalog policy → Workspace storage: reads products
- Quotation and cart pricing → Workspace storage: reads stock and prices
- Order lifecycle → Workspace storage: reserves stock