A comprehensive full-stack management system for Kenya's Social Health Authority, built with Django REST Framework and React.
# π°πͺ SHA Kenya β Social Health Authority Management System
> A comprehensive full-stack management system for Kenya's Social Health Authority, built with Django REST Framework and React.
---
## π Overview
The SHA Management System is a government-grade web application designed to manage:
- **Members** β Register and manage health insurance beneficiaries
- **Claims** β Process, approve, and track medical claims
- **Contributions** β Record and monitor member premium payments
- **Health Facilities** β Manage accredited hospitals and clinics
- **Counties** β Administer all 47 counties of Kenya
---
## ποΈ Architecture
```
sha-system/
βββ backend/ # Django REST API
β βββ sha_backend/ # Project settings & URLs
β β βββ settings.py
β β βββ urls.py
β βββ core/ # Main application
β β βββ models.py # Database models
β β βββ views.py # API views & viewsets
β β βββ serializers.py # DRF serializers
β β βββ urls.py # API routing
β β βββ management/
β β βββ commands/
β β βββ seed_data.py # Sample data seeder
β βββ requirements.txt
β
βββ frontend/ # React Application
βββ public/
β βββ index.html # HTML template with Bootstrap Icons
βββ src/
βββ styles/
β βββ global.css # Global styles (Kenya theme)
βββ services/
β βββ api.js # API service layer (all HTTP calls)
βββ context/
β βββ AuthContext.jsx # JWT authentication state
β βββ ToastContext.jsx # Toast notifications
βββ components/
β βββ Sidebar.jsx # Responsive collapsible sidebar
β βββ Navbar.jsx # Top navigation bar
β βββ Modal.jsx # Reusable JS modals
βββ pages/
β βββ Login.jsx # Login page
β βββ Dashboard.jsx # Analytics dashboard (Recharts)
β βββ Members.jsx # Member management CRUD
β βββ Claims.jsx # Claims processing CRUD
β βββ Contributions.jsx # Payments CRUD
β βββ Facilities β¦