This is a small local frontend for showcasing the hosted ElectricityGrid API.
- Live network and regional snapshot cards
- Regional live price comparison chart
- Generation mix chart for the selected region
- Historical trend chart using
/v1/history - Analytical min/max stats using
/v1/stats
-
Install dependencies:
npm install
-
Start the local demo site:
npm run dev
-
Open the local URL shown by Vite.
- The demo defaults to the EC2 API base URL.
GET /v1/healthworks without a token.- The rest of the API requires the bearer token, so paste the API key into the UI to unlock the protected views.