How moontomoon119/samoo-city-2025 works
Project Type and Purpose
• This is a full-stack web application named “Excel Relation Explorer.”
File-Structure Analysis
• Top-level directories/services orchestrated by Docker Compose:
• db/ (Postgres or similar, initialized via db/init_part_*.sql)
• openroute/ors-docker/ (OpenRouteService for isochrone endpoints)
• excel-relations-api/ (Node.js Express API container)
• excel-relations-front/ (Node.js/React front-end container)
• Configuration files at root: docker-compose.yml (with .dev/.prod variants), env.example, dump_database.sh.
• Pattern in API: MVC (controllers, services, models), CLI utilities, SQL functions, file-upload handling via Multer.
• Pattern in Frontend: React component structure (filter, grid, map), service layer for HTTP calls, webpack bundling, static data in public/data.
README Insights
• Launch stack with docker-compose up → brings up DB, ORS, API, front-end.
• Health check of ORS on port 8082; front-end served on 3000.
• Exposed network links between containers via Docker Compose.
Diagramming Conventions
• Use clear labels: component name, port, purpose.
• Notes on initialization (DB SQL scripts) and volume mounts.