This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1y0WXIRl90dn6wjKfgA81zDNxhntNOd_p
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
The dashboards read JSON baked at build time (committed under data/ and public/data/).
npm run build:data— Inflation series from public FRED/dataset CSVs →data/inflation_annual.json.npm run build:energy— OMIE day-ahead supply curve by technology →public/data/omie_bids_latest.json. Fetches the latest available OMIEcurva_pbc_uofmonth, the officialmarginalpdbcclearing prices, and OMIE's own unit→technology registry (LISTA_UNIDADES, same code namespace → ~99% coverage, Spanish + Portuguese MIBEL units). No API token required. Note: unit-identified bids are public only after a ~90-day confidentiality window, so the dashboard always shows the latest available day (~3 months lagged) — this is inherent to the data, not a bug.
