# Rwanda Earth Intelligence Dashboard
**Live URL:**
earthintel.henrietteinc.tech
**Demo Video:**
youtu.be
A dashboard that turns RwaSAT-1 satellite environmental raw data into plain-English intelligence for Rwandan farmers, students, and researchers or any other users.
---
## What It Does
Search any location in Rwanda or click directly on the map. The app fetches soil moisture, rainfall, elevation, and nearby disaster data from 4 different APIs, combines them into a single **Safety Score (0-100)**, and generates an intelligence report with useful information from the raw data and also provides crop recommendations all in plain English.
**Key features:**
- Satellite vegetation overlay (NASA GIBS NDVI) on an interactive Leaflet map
- Real-time soil moisture, rainfall (7-day & 30-day), altitude, and slope analysis
- Nearby threat detection from NASA EONET (wildfires, floods, storms, volcanoes)
- Safety Score calculated from all data sources combined — this number doesn't exist anywhere until the app creates it
- Crop recommendations based on Rwandan altitude zones and soil conditions
- Saved Locations with **filter** (risk level), **sort** (6 options), and **search**
- XSS input sanitization and Rwanda boundary validation
- localStorage persistence for saved locations
---
## APIs Used
| API | Purpose | Auth | Docs |
|-----|---------|------|------|
| **NASA EONET v3** | Nearby disaster events | API key (in submission comments) |
eonet.gsfc.nasa.gov |
| **Open-Meteo** | Soil moisture, rainfall, elevation | No key (open-source) |
open-meteo.com |
| **Nominatim** | Geocoding (place → coordinates) | No key (open-source) | nominatim.org |
| **NASA GIBS** | Satellite imagery tiles (NDVI) | No key | nasa-gibs.github.io |
All APIs except NASA EONET are open-source and require no authentication. The NASA API key is stored in `config.js` which is excluded from GitHub via `.gitignore`.
---
## Libraries Used
| Library | Versi …