┌───────────────┐ │ User │ │ Web Browser │ └───────┬───────┘ │ HTTPS │ ▼ ┌─────────────────────────────────────────────────────────────────────┐ │ Nginx │ │ Reverse Proxy + Static Files │ ├─────────────────────────────────────────────────────────────────────┤ │ / → Static HTML │ │ /map/ → ExpressJS │ │ /geoserver/ → GeoServer │ │ /pgadmin/ → PgAdmin 4 │ └────────┬───────────────────────────────┬───────────────────┬────────┘ │ │ │ ▼ ▼ ▼ ┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐ │ ExpressJS │ │ GeoServer │ │ PgAdmin 4 │ ├─────────────────┤ ├──────────────────┤ ├─────────────────┤ │ - Leaflet Map │ GET Method │ - WMS/WMTS/WFS │ │ - DB Admin UI │ │ - Backend API │───────────▸│ - Map Layers │ │ - Query Tool │ ├─────────────────┤ ├──────────────────┤ ├─────────────────┤ │ Route: │ │ Route: │ │ Route: │ │ /map/ │ │ /geoserver/ │ │ /pgadmin/ │ └────────┬────────┘ └─────────┬────────┘ └────────┬────────┘ │ │ │ SQL / Spatial SQL / Spatial SQL Query Query Query │ │ │ ▼ ▼ ▼ ┌─────────────────────────────────────────────────────────────────────┐ │ PostGIS │ │ PostgreSQL + PostGIS Extension │ ├─────────────────────────────────────────────────────────────────────┤ │ - Vector Data (Point, Line, Polygon) │ │ - Raster Data (Imagery, Elevation) │ │ - Spatial Index (GIST) │ │ - Geographic Coordinate Systems │ └─────────────────────────────────────────────────────────────────────┘