How hsinah/kochi-metro-automation- works
This repository is a Kochi Metro train-management interface: a user signs in, then navigates dashboards for train status, performance scoring, release decisions, and passenger information, alongside help and vigilance pages. The frontend also includes a local train-data module and a Flask backend; the login page visibly posts to the backend. The README offers no further product detail, and backend source was not excerpted, so backend behavior beyond that login request is uncertain.
Main entry points: App.jsx App and routing · Login.jsx Login · main.jsx React entry · Home.jsx Train dashboard
Components 16
App shell
- React entry
Kochi-Metro_Maintance-Scheduler/frontend/src/main.jsx - App and routing
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - Login
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/Login.jsx - Loading screen
Kochi-Metro_Maintance-Scheduler/frontend/src/components/Loadingscreen.jsx - Navigation bar
Kochi-Metro_Maintance-Scheduler/frontend/src/components/Navbar.jsx
Train operations
- Train dashboard
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/Home.jsx - Train data
Kochi-Metro_Maintance-Scheduler/frontend/src/data/trainData.jsx - Train card
Kochi-Metro_Maintance-Scheduler/frontend/src/components/TrainCard.jsx - Performance scoring
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/ScoringRanking.jsx - Train release
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/TrainRelease.jsx
Passenger support
- Passenger information
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/PassengerInfo.jsx - About
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/About.jsx - Helpline
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/HelpLine.jsx - Vigilance
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/Vigilance.jsx
Backend
- Flask backend
Kochi-Metro_Maintance-Scheduler/backend/app.py
Other components
- User
Connections 15
- User → React entry: opens app
Kochi-Metro_Maintance-Scheduler/frontend/src/main.jsx - React entry → App and routing: renders
Kochi-Metro_Maintance-Scheduler/frontend/src/main.jsx - App and routing → Loading screen: renders while loading
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Login: renders before authentication
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Navigation bar: renders after authentication
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Train dashboard: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → About: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Passenger information: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Vigilance: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Helpline: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Performance scoring: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - App and routing → Train release: routes to
Kochi-Metro_Maintance-Scheduler/frontend/src/App.jsx - User → Login: submits credentials
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/Login.jsx - Login → Flask backend: posts login request
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/Login.jsx - Train dashboard → Train data: reads
Kochi-Metro_Maintance-Scheduler/frontend/src/pages/Home.jsx