GlobalChainX is a single-file Node.js and Express dashboard for supply chain operations monitoring. It serves a dark-themed operations center UI at GET / and exposes a Prometheus-style metrics endpoint at GET /metrics.
- Live clock in the dashboard header
- KPI cards for shipments, warehouses, orders, and alerts
- Shipment tracking table with six sample routes
- Inventory level bar chart
- Recent alerts panel
- Plain-text metrics endpoint for monitoring systems
-
Install dependencies:
npm install
-
Start the server:
npm start
-
Open the app in your browser:
http://localhost:3000
Build the image:
docker build -t globalchainx-dashboard .Run the container:
docker run -p 3000:3000 globalchainx-dashboardThen open:
http://localhost:3000
Start the service:
docker compose up --buildThen open:
http://localhost:3000
The /metrics endpoint returns plain text in a Prometheus-style format:
globalchainx_active_shipments 1284
globalchainx_warehouses_online 47
globalchainx_orders_today 98432
globalchainx_alerts_critical 3