Joey Eamigh 7a1bbca339
fix: comprehensive review fixes — real price data, missing components, SQL bugs, security
- Replace $0 electricity prices with real EIA retail-sales data (IND sector)
  with demand-based hourly variation (0.8x-1.2x)
- Add sparkline component and alerts feed to dashboard home
- Add animated number transitions to hero metric cards
- Fix ticker tape price direction (green/red arrows with % change)
- Fix AI milestone annotation alignment on price charts
- Fix SQL cartesian products in getDemandByRegion and getRegionPriceHeatmap
  using CTEs for independent aggregation
- Add unique composite constraints to prevent duplicate data
- Add bearer token auth to ingestion API routes
- Add 30s fetch timeouts to EIA and FRED API clients
- Add regionCode validation in server actions
- Fix docker-compose: localhost-only port binding, correct volume path
- Fix seed script to preserve ingested time-series data
2026-02-11 13:23:21 -05:00
2026-02-11 04:01:16 -05:00
2026-02-11 03:33:58 -05:00
2026-02-11 03:57:23 -05:00
2026-02-11 03:57:23 -05:00
2026-02-11 03:57:23 -05:00

bonus4

To install dependencies:

bun install

To run:

bun run 

This project was created using bun init in bun v1.3.8. Bun is a fast all-in-one JavaScript runtime.

Description
No description provided
Readme 819 KiB
Languages
TypeScript 97.2%
JavaScript 1.2%
CSS 1.2%
Shell 0.2%
Dockerfile 0.2%