A comprehensive web-based train ticket booking system that provides a seamless experience for searching trains, booking tickets, and managing reservations. Built with Java backend and HTML frontend.
- 🔍 Smart Train Search - Find trains between any two stations with real-time availability
- 🎫 Easy Booking - Book tickets with intuitive seat selection
- 📋 Booking Management - View, modify, and cancel reservations
- 💳 Secure Payments - Safe and secure payment processing
- 📧 Booking Confirmation - Instant email confirmations and e-tickets
- 🚆 Train Management - Add, update, and remove train schedules
- 👥 User Management - Manage passenger accounts and bookings
- 📊 Reports & Analytics - Track bookings, revenue, and system usage
| Technology | Usage | Percentage |
|---|---|---|
| HTML | Frontend UI | 84.4% |
| Java | Backend Logic | 15.6% |
git clone https://github.com/Krishmal2004/Train_Booking_System.git
cd Train_Booking_SystemCREATE DATABASE train_booking_db;
mysql -u root -p train_booking_db < database/schema.sqlUpdate the database configuration in your Java files with your credentials.
# Compile Java files
javac -d bin src/**/*.java
# Deploy to Tomcat webapps directoryhttp://localhost:8080/train-booking/
- Register/Login - Create account or login
- Search Trains - Enter source, destination, and date
- Book Tickets - Select train, class, and seats
- Manage Bookings - View and manage your reservations
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Krishmal2004
- GitHub: @Krishmal2004
- 🐛 Open an issue
- ⭐ Star this repository if you find it helpful!
Made with ❤️ for travelers everywhere
Happy Journey! 🚂
Happy Journey! 🚂