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 …