Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

orionkabeza/disaster-warning-map

Domain:

environment and energyhealthcare

Record type:

software
Creator:
ori
Host:
Live natural-hazard map for Africa that plots events from NASA EONET and USGS, then finds the nearest hospitals and clinics from OpenStreetMap. Deployed across two web servers behind a HAProxy load balancer. # East Africa Disaster Early-Warning Map ALU Web Infrastructure summative — "Playing Around with APIs". ## Demo video A short (~2 min) walkthrough showing the app running locally and through the load balancer: **→youtu.be ## Live deployment **→ patient0.tech** Served over HTTPS (Let's Encrypt) through a **HAProxy** load balancer (`Lb01`) doing round-robin across two identical web nodes: | Role | Host | Serves | |---|---|---| | Lb01 | HAProxy, `www.patient0.tech` | round-robin + TLS termination + HTTP→HTTPS redirect | | Web01 | `7090-web-01` | nginx (static + `/api` reverse proxy) → Express on `:3000` | | Web02 | `7090-web-02` | identical to Web01 | | DB | Neon Postgres (`eu-central-1`) | users + saved settings, over TLS | Round-robin is verifiable live — each response names the backend that served it: ```bash for i in $(seq 10); do curl -s patient0.tech; echo; done # → alternates {"ok":true,"host":"7090-web-01"} / {"ok":true,"host":"7090-web-02"} ``` The load balancer uses an **application-level health check** (`option httpchk GET /api/health`), so a node whose Express backend is down — even with nginx still up — is pulled from rotation rather than returning 502s. The exact working LB config is committed at `deploy/haproxy/haproxy.cfg`; full steps are in `deploy/RUNBOOK.md`. ## The problem Public hazard feeds (earthquakes, floods, storms) tell you *that* something is happening, but not *what to do about it*. This app plots natural-hazard events across Africa from **NASA EONET** and the **USGS earthquake feed**, and layers on the nearest health facilities from **OpenStreetMap** (via the Overpass API), so a viewer near a flagged event can answer "where do I go" in the same view, not by cross-referencing three separate apps. It is explicitly not a weather app, joke generator, or converter — it combines three independent live data sources into one decision-relevant view, with filtering, sorting, and p …

Visit

github.com

Similar

Closing Africa's Early Warning Gap: AI Weather Forecasting for Disaster PreventionDeveloping a Climate-Smart Web GIS App for Multi-Hazard Early Warning against Climate-Based Disaster RisksClimate Resilience, Adaptation, Hazard Prediction, Disaster Risk Reduction, and Early Warning Systems in Northern Nigeria: A Systematic ReviewEarly Warning System for Flood Disaster Prediction in Wetland Area in Greater Yola Using Adaptive Neuro Fuzzy Inference SystemDeveloping an early warning system to strengthen disaster risk resilience: experiences from flood-prone areas of KwaZulu-Natal province.comply54/agent-disaster-lab

Closing Africa's Early Warning Gap: AI Weather Forecasting for Disaster Prevention

In January 2026, torrential rains killed 200-300 people across Southern Africa, exposing a critical

Developing a Climate-Smart Web GIS App for Multi-Hazard Early Warning against Climate-Based Disaster Risks

Abstract. Floods and drought are one of the most recurring and devastating natural hazards threateni

Climate Resilience, Adaptation, Hazard Prediction, Disaster Risk Reduction, and Early Warning Systems in Northern Nigeria: A Systematic Review

Climate variability and extreme weather events are intensifying across Northern Nigeria, posing sign

Early Warning System for Flood Disaster Prediction in Wetland Area in Greater Yola Using Adaptive Neuro Fuzzy Inference System

International audience Natural calamity disrupts our daily life activities; thereby b

Developing an early warning system to strengthen disaster risk resilience: experiences from flood-prone areas of KwaZulu-Natal province.

Abstract Globally, the frequency and intensity of extreme weather events including flash f

comply54/agent-disaster-lab

The OWASP Juice Shop for AI Agents — watch AI agents cause real African regulatory disasters, then w