Skip to content

F14A-DELTA/Demo-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElectricityGrid API demo frontend

This is a small local frontend for showcasing the hosted ElectricityGrid API.

What it shows

  • 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

Run locally

  1. Install dependencies:

    npm install
  2. Start the local demo site:

    npm run dev
  3. Open the local URL shown by Vite.

Notes

  • The demo defaults to the EC2 API base URL.
  • GET /v1/health works 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors