A full-stack PWA to compare Ontario residential plan costs (Tiered, TOU, ULO) for Alectra-compatible rate options.
- Compare all three plans for the same input scenario
- Select current plan to highlight your baseline
- Two usage input modes:
- Simple monthly kWh + profile distribution
- Detailed kWh by TOU and ULO periods
- Edit default rates before each calculation
- Optional extras estimate (HST, OER, delivery, regulatory placeholders)
- Offline-capable PWA with local scenario restore
- Docker-ready deployment behind Traefik
npm install
npm run dev- GET /api/health
- GET /api/rates
- POST /api/rates/refresh
- POST /api/compare
Default rates are in server/rates/default-rates.json.
Remote refresh can be enabled by setting RATES_SOURCE_URL to a JSON endpoint matching the same shape.
cd docker
docker compose -f docker-compose.traefik.yml up -d --buildUpdate the host rule label in compose to your domain used by Traefik.