# 🏛️ CDFWatch Mombasa
A live civic accountability web app that tracks and visualises Kenya's NG-CDF fund allocations and disbursements across all 6 Mombasa constituencies.
## What It Does
- Shows accountability scores for each constituency
- Interactive charts: Allocated vs Disbursed per year
- Funding gap analysis
- Clean data table with disbursement rates
- All built with real public government data from ngcdf.go.ke
## Tech Stack
- **Backend:** Python + Flask (web framework)
- **Frontend:** HTML, CSS, JavaScript
- **Charts:** Chart.js
- **Data:** Real NG-CDF records (ngcdf.go.ke)
- **Hosting:** Render.com (free tier)
## Run Locally
```bash
pip install -r requirements.txt
python app.py
```
Open
localhost
## Deploy to Render (Free)
1. Push this folder to GitHub
2. Go to render.com → New Web Service
3. Connect your GitHub repo
4. Build command: `pip install -r requirements.txt`
5. Start command: `gunicorn app:app`
6. Done — live URL in 2 minutes
## Data Source
All data sourced from the official National Government Constituencies Development Fund portal:
ngcdf.go.ke
## Course Frameworks Applied
- Root Cause Analysis & 5 Whys
- Stakeholder Mapping
- Algorithmic Thinking (Accountability Score)
- Constraints-Aware Design (free tools only)
- Ethical & Inclusive Design
- User-Centred Framing (built for citizens)
**Student Project — Problem Solving & Computational Thinking Course**