A platform that helps travelers find the best train routes by analyzing schedules and predicting delays ensuring smooth journeys during busy times.
ConnectExpress is an intelligent railway route finder that specializes in discovering multi-leg journey options when direct trains aren't available. Using historical delay patterns and machine learning, it provides smart connection suggestions with risk assessment, making train travel planning more efficient during peak seasons.
During peak travel seasons (like festivals), getting direct train tickets between major cities becomes challenging. While alternative routes with connections exist, current booking platforms don't show these options. ConnectExpress solves this by:
- Finding alternative routes with connections
- Assessing the reliability of connections using historical data
- Recommending routes based on connection time and delay risks
Due to the unavailability of official IRCTC API and data, we have used simulated train data for demonstration purposes. The system's logic and algorithms remain applicable for real-world scenarios once integrated with actual IRCTC data.
- Smart Route Discovery: Finds hidden connection opportunities between stations
- Risk Assessment: Predicts delay risks using ML and historical patterns
- Intelligent Connections: Suggests routes with optimal transfer times
- Season-Aware: Adjusts recommendations based on festival/peak seasons
- Weather Impact: Factors in weather-related delays for better planning
- Frontend: Next.Js
- Backend: Node.Js, Express.Js
- Database: MongoDB
- Algorithm: Custom path-finding implementation in Javascript
- Node.Js (v14 or higher)
- MongoDB
- npm or yarn
- Fork the repository
- Clone the repository
https://github.com/TechWizard9999/ConnectExpress
cd connectexpress
- Install backend dependencies
cd backend
npm install
- Create .env file
MONGODB_URI=your_mongodb_uri
PORT=5000
- Start the backend server
npm start
- Open a new terminal and navigate to frontend directory
cd frontend
- Install frontend dependencies
npm install
- Create .env file
NEXT_APP_API_URL=http://localhost:3000
- Start the frontend application
npm run dev
The application will be available at http://localhost:3000
connectexpress/
├── backend/
│ ├── config/
│ │ └── database.js
│ ├── controllers/
│ │ ├── stationController.js
│ │ └── trainController.js
│ ├── models/
│ │ ├── Station.js
│ │ ├── Train.js
│ ├── routes/
│ │ └── station.js
│ └── index.js
├── frontend/
│ ├── app/
│ │ ├── components/
│ │ ├── layout.js
│ │ └── page.js
│ └── package.json
└── README.md
- Intuitive Search: Easy-to-use interface for route searches
- Smart Suggestions: Auto-complete station names
- Visual Route Map: Clear visualization of connections
- Risk Indicators: Color-coded risk assessment display
- Time Tables: Dynamic scheduling information
Our route finding algorithm:
- Creates a dynamic graph of train connections
- Implements modified Dijkstra's algorithm for optimal path finding
- Considers multiple factors:
- Connection times
- Historical delays
- Station transfer times
- Platform distances
- Seasonal patterns
- Integration with real IRCTC data
- Mobile application development
- Real-time delay notifications
- Platform crowd prediction
- User journey tracking
- Multi-language support