How pentorex/bazy_danych_projekt works
CargoVector EKL is a web application for railway operations, with role-specific employee dashboards and a passenger-facing journey and ticket workflow. The frontend routes authentication and dashboard entry, selects a panel by role, and exposes operational modules that call the Django API; the backend routes API requests through views, serializers, and domain models. README and sampled sources support the product scope, but most frontend modules and API endpoints were not inspected, so their internal links are not expanded.
Main entry points: panele_uzytkownikow Staff dashboards · App.jsx Web entry and routes · urls.py Django API endpoints · Lokomotywy.jsx Fleet and locomotive data
Components 19
Web application
- Web entry and routes
frontend/src/App.jsx - Login and account recovery
frontend/src/components/logowanie_reset_hasla - Role dashboard selection
frontend/src/components/Dashboard.jsx - Staff dashboards
frontend/src/components/panele_uzytkownikow - Dashboard navigation
frontend/src/components/MainLayout.jsx - Rail operations
frontend/src/components/panele_funkcyjne/Pociagi.jsx - Fleet and locomotive data
frontend/src/components/panele_funkcyjne/Lokomotywy.jsx - Locomotive series
frontend/src/components/panele_funkcyjne/SerieLokomotyw.jsx - Train forms and summary
frontend/src/components/panele_funkcyjne/PociagFormularzModal.jsx - Personnel management
frontend/src/components/panele_funkcyjne/ZarzadzajPersonelem.jsx - Schedules and notices
frontend/src/components/panele_funkcyjne/WyswietlGrafik.jsx - Passenger search and booking
frontend/src/components/panele_uzytkownikow/PasazerDashboard.jsx - Passenger journey view
frontend/src/components/Wars/Wars.jsx
API and domain
- Django API endpoints
backend/ekl/urls.py - Request handling
backend/ekl/views.py - API serialization
backend/ekl/serializers.py - Rail domain models
backend/ekl/models.py - Application database
Other components
- Employee or passenger
Connections 22
- Employee or passenger → Web entry and routes: uses
frontend/src/App.jsx - Web entry and routes → Login and account recovery: routes to
frontend/src/App.jsx - Web entry and routes → Role dashboard selection: routes to
frontend/src/App.jsx - Web entry and routes → Passenger search and booking: routes to
frontend/src/App.jsx - Web entry and routes → Passenger journey view: routes to
frontend/src/App.jsx - Role dashboard selection → Staff dashboards: selects by role
frontend/src/components/Dashboard.jsx - Staff dashboards → Dashboard navigation: renders
frontend/src/components/panele_uzytkownikow/DyspozytorDashboard.jsx - Staff dashboards → Rail operations: renders
frontend/src/components/panele_uzytkownikow/DyspozytorDashboard.jsx - Staff dashboards → Fleet and locomotive data: renders
frontend/src/components/panele_uzytkownikow/DyspozytorDashboard.jsx - Staff dashboards → Locomotive series: renders
frontend/src/components/panele_uzytkownikow/DyspozytorDashboard.jsx - Staff dashboards → Personnel management: renders
frontend/src/components/panele_uzytkownikow/DyspozytorDashboard.jsx - Staff dashboards → Schedules and notices: renders
frontend/src/components/panele_uzytkownikow/DyspozytorDashboard.jsx - Rail operations → Train forms and summary: renders
frontend/src/components/panele_funkcyjne/Pociagi.jsx - Fleet and locomotive data → Locomotive series: renders
frontend/src/components/panele_funkcyjne/Lokomotywy.jsx - Passenger search and booking → Django API endpoints: fetches journeys and bookings
- Fleet and locomotive data → Django API endpoints: fetches and updates
frontend/src/components/panele_funkcyjne/Lokomotywy.jsx - Personnel management → Django API endpoints: fetches and updates
frontend/src/components/panele_funkcyjne/ZarzadzajPersonelem.jsx - Locomotive series → Django API endpoints: fetches and updates
frontend/src/components/panele_funkcyjne/SerieLokomotyw.jsx - Django API endpoints → Request handling: routes requests
backend/ekl/urls.py - Request handling → API serialization: serializes responses
backend/ekl/views.py - Request handling → Rail domain models: queries and updates
backend/ekl/views.py - Rail domain models → Application database: persists domain state