Logo Lanfrica

ChristianTonny/rwanda-gov-data-intelligence

Domaine:

digital infrastructure

Type de record:

software
Créateur:
Chr
Hôte:
## Rwanda Government Data Intelligence (MVP) Quick start for the hackathon MVP. Minimal working slice with docs and planning. ### Docs - `docs/prd.md` — product requirements and scope - `docs/demo-script.md` — walkthrough and recording checklist - `docs/acceptance.md` — acceptance tests and QA ### Next steps 1) Scaffold the app (Next.js + tRPC + Tailwind + shadcn/ui) 2) Create services for ETL, search, and LLM adapter 3) Seed small dataset extracted from provided Excel files 4) Implement endpoints: health, ingest, search, query, dashboards, tasks ### Env Copy `.env.example` and set values: ``` DATABASE_URL=postgresql://user:pass@localhost:5432/rgdi MODEL_PROVIDER=gemini GEMINI_KEY=your_key_here GEMINI_MODEL=gemini-2.5-flash SEARCH_URL=localhost UPSTASH_URL=global.upstash.io ``` ## 🚀 Implementation Progress ### ✅ Phase 1: Foundation (COMPLETED) - Next.js 14 app with Tailwind v4 and shadcn-style components - Search interface (icon, loading/provenance placeholders) - Role dashboard layout with KPI widgets and chart placeholder - Responsive, Rwanda-themed design system (colors/typography) ### 🔄 Phase 2: Data Integration (IN PROGRESS) - UI now has tabs: Dashboard, Entrepreneur (flagged), Recent, Settings - Dashboard renders KPI/Chart/Alerts shells + Key Trends; export buttons visible - Role selector (Analyst/Citizen) present; UI update is pending binding to response - Entrepreneur page behind feature flag notice - Recent shows an empty "Recent Activity" card - Settings lets you choose role and default region Back-end wiring status - Endpoints respond: `/api/dashboards`, `/api/search`, `/api/query`, `/api/health` - Front-end binding to show live data is partially pending (charts, KPIs) - Next.js monorepo imports fixed with `experimental.externalDir` Test locally (PowerShell): - `pnpm dev:web` → open `localhost` - `Invoke-RestMethod 'localhost'` - `Invoke-RestMethod 'localhost' …

Licenses