How plainatchapon/tracking-v2 works
This is a browser-based order, inventory, warehouse, dispatch, delivery, accounting, and administration system backed by Express and PostgreSQL. Its principal business workflow is represented across distinct backend stages, from product search and order creation through fulfillment, vehicle checking, delivery, and payment verification; the excerpts do not establish direct calls between those stages. The browser pages and scripts are present in the tree, but their API calls were not sampled, so the graph omits unverified UI-to-API edges. Backend route registrations and database use are evidenced in the shown source.
Main entry points: server.js HTTP and sockets · Bsales.js Product search and orders · Border.js Order management · Bfulfill.js Warehouse fulfillment
Components 21
Web runtime
- HTTP and sockets
server.js - PostgreSQL
Orders and inventory
- Sales page
js/sales.js - Product search and orders
backend/Bsales.js - Order page
js/order.js - Order management
backend/Border.js
Order operations
- Fulfillment page
js/fulfill.js - Warehouse fulfillment
backend/Bfulfill.js - Checker page
js/checker.js - Vehicle checking and dispatch
backend/Bchecker.js - Logistics page
js/logistic.js - Delivery results
backend/Blogistic.js
Administration
- Accounting page
js/acc.js - Payment verification
backend/Bacc.js - Admin page
js/ad.js - Order status and timeline
backend/Bsystem.js - Inventory export
backend/reportRoutes.js - User management
backend/Busers.js - Login page
js/login.js - Authentication and sessions
backend/Blogin.js
Other components
- Staff user
Connections 22
- Staff user → HTTP and sockets: uses
server.js - HTTP and sockets → Product search and orders: mounts routes
server.js - HTTP and sockets → Order management: mounts routes
server.js - HTTP and sockets → Warehouse fulfillment: mounts routes
server.js - HTTP and sockets → Vehicle checking and dispatch: mounts routes
server.js - HTTP and sockets → Delivery results: mounts routes
server.js - HTTP and sockets → Payment verification: mounts routes
server.js - HTTP and sockets → Order status and timeline: mounts routes
server.js - HTTP and sockets → Inventory export: mounts routes
server.js - HTTP and sockets → User management: mounts routes
server.js - HTTP and sockets → Authentication and sessions: mounts routes
server.js - HTTP and sockets → PostgreSQL: configures pool
server.js - Product search and orders → PostgreSQL: queries
backend/Bsales.js - Order management → PostgreSQL: queries
backend/Border.js - Warehouse fulfillment → PostgreSQL: queries
backend/Bfulfill.js - Vehicle checking and dispatch → PostgreSQL: queries
backend/Bchecker.js - Delivery results → PostgreSQL: queries
backend/Blogistic.js - Payment verification → PostgreSQL: queries
backend/Bacc.js - Order status and timeline → PostgreSQL: queries
backend/Bsystem.js - Inventory export → PostgreSQL: queries
backend/reportRoutes.js - User management → PostgreSQL: queries
backend/Busers.js - Authentication and sessions → PostgreSQL: queries
backend/Blogin.js