How monsieurjadex/aeroflot-snippets works
SkyMunky is an airport-engineering dispatch system: dispatchers create and queue aircraft-related work, engineers receive tasks and report progress and positions, while the backend provides authenticated APIs, map/routing support, and operational records. The frontend also has login and MCC screens; the repository includes a .tmj parser and a task-expiry scheduler. The main API and selected UI interactions are evidenced by excerpts; several feature modules are indexed but unsampled, so their internal connections are omitted.
Main entry points: main.rs API startup and routes · App.jsx Route shell · WorkerPage.jsx Engineer console · session.js Session and API
Components 26
Web application
- Route shell
frontend/src/App.jsx - Login screen
frontend/src/pages/LoginPage.jsx - Dispatcher console
frontend/src/pages/DispatcherPage.jsx - Engineer console
frontend/src/pages/WorkerPage.jsx - MCC console
frontend/src/pages/MccPage.jsx - Session and API
frontend/src/lib/session.js - Live operations client
frontend/src/lib/live.js - Apron map display
frontend/src/lib/apronMap.js
Backend API
- API startup and routes
backend/src/main.rs - Authentication handlers
backend/src/router/auth.rs - Operations handlers
backend/src/router/ops.rs - Geospatial handlers
backend/src/router/geo.rs - Tracking handlers
backend/src/router/track.rs - Auth middleware
backend/src/middleware.rs
Operations domain
- Operational records
backend/src/database/schema.rs - Map loading
backend/src/maps.rs - Map model
backend/src/types/map.rs - Route planning
backend/src/graph.rs - Issue classification
backend/src/types/classifier.rs - Task ranking
backend/src/rank.rs
Supporting services
- TMJ parser
tools/parser/src/parser.rs - Map geometry parser
tools/parser/src/geo.rs - Task expiry scheduler
tools/scheduler/src/scheduler/database.py
Other components
- User
- PostgreSQL
- Redis
Connections 24
- User → Route shell: opens
frontend/src/App.jsx - Route shell → Login screen: routes to
frontend/src/App.jsx - Route shell → Dispatcher console: routes to
frontend/src/App.jsx - Route shell → Engineer console: routes to
frontend/src/App.jsx - Route shell → MCC console: routes to
frontend/src/App.jsx - Login screen → Session and API: authenticates via
- Dispatcher console → Session and API: requests API
frontend/src/pages/DispatcherPage.jsx - Dispatcher console → Live operations client: loads operations
frontend/src/pages/DispatcherPage.jsx - Engineer console → Session and API: requests API
frontend/src/pages/WorkerPage.jsx - Engineer console → Live operations client: sends updates
frontend/src/pages/WorkerPage.jsx - Engineer console → Apron map display: renders map
frontend/src/pages/WorkerPage.jsx - Session and API → API startup and routes: HTTP requests
frontend/src/lib/session.js - API startup and routes → Authentication handlers: routes auth
backend/src/main.rs - API startup and routes → Operations handlers: routes operations
backend/src/main.rs - API startup and routes → Geospatial handlers: routes geospatial
backend/src/main.rs - API startup and routes → Tracking handlers: routes tracking
backend/src/main.rs - API startup and routes → Auth middleware: protects routes
backend/src/main.rs - Operations handlers → Map loading: loads active map
backend/src/router/mod.rs - Map loading → Map model: uses map model
backend/src/maps.rs - Route planning → Map model: uses map model
backend/src/graph.rs - API startup and routes → PostgreSQL: reads and writes
- API startup and routes → Redis: reads and writes
- Task expiry scheduler → PostgreSQL: deactivates expired tasks
tools/scheduler/src/scheduler/database.py - TMJ parser → Map geometry parser: uses geometry
tools/parser/src/parser.rs