Malaria Drug Resistance Intelligence Platform - Real-time surveillance & ML prediction of antimalarial drug resistance across 19 African countries. Tracks 15 molecular markers, forecasts trends (84% accuracy), and provides actionable reports for health authorities. FastAPI + React + PostgreSQL. Built for public health decision-making.
# 🦟 Malaria Drug Resistance Intelligence Platform
A comprehensive surveillance and ML-powered prediction platform for monitoring antimalarial drug resistance across Sub-Saharan Africa.
## 🎯 Features
- **Real-time Surveillance Dashboard** - Interactive GIS map with resistance data across 10+ African countries
- **ML Prediction Engine** - Individual treatment failure risk assessment using ensemble models
- **Molecular Marker Tracking** - Monitor Pfkelch13, Pfcrt, Pfmdr1, and other validated resistance markers
- **Regional Analytics** - Comparative analysis across East, West, Central, and Southern Africa
- **REST API** - Full-featured API with Swagger documentation
## 🚀 Quick Start
### Using Docker (Recommended)
```bash
# Clone the repository
git clone
github.com
cd malaria-resistance-platform
# Start all services
docker compose up
# Access the application
# Frontend:
localhost
# API Docs:
localhost
```
### Manual Setup
#### Backend
```bash
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload
```
#### Frontend
```bash
cd frontend
npm install
npm run dev
```
## 📡 API Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/v1/health` | GET | Health check |
| `/api/v1/reports` | GET | List country reports |
| `/api/v1/drugs` | GET | Get drug database |
| `/api/v1/markers` | GET | Get molecular markers |
| `/api/v1/dashboard/stats` | GET | Dashboard statistics |
| `/api/v1/predictions/individual` | POST | ML prediction |
## 🏗️ Tech Stack
**Backend:** FastAPI, PostgreSQL/PostGIS, Redis, Scikit-learn, XGBoost
**Frontend:** React 19, TypeScript, Vite, Tailwind CSS, shadcn/ui, Leaflet, Recharts
## 📊 Data Sources
- WHO Malaria Threats Map
- MalariaGEN Molecular Surveillance
- Therapeutic Efficacy Studies (TES)
## ⚠️ Disclaimer
**This platfor …