Skip to content

Repository files navigation

GlobalChainX Supply Chain Dashboard

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.

What It Includes

  • 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

Run With Node.js

  1. Install dependencies:

    npm install
  2. Start the server:

    npm start
  3. Open the app in your browser:

    http://localhost:3000
    

Run With Docker

Build the image:

docker build -t globalchainx-dashboard .

Run the container:

docker run -p 3000:3000 globalchainx-dashboard

Then open:

http://localhost:3000

Run With Docker Compose

Start the service:

docker compose up --build

Then open:

http://localhost:3000

/metrics Endpoint

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

Files

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages