🚆 Railway Management System
A Java-based Railway Management System with a graphical user interface, designed to simulate core functionalities like user registration, train search, ticket booking, and admin management. Built as a desktop application using Java and JDBC for database interaction with MySQL.
✨ Features
🔹 User Registration and Login
🔹 Admin Login with Control Panel
🔹 Add, Update, Delete Train Details (Admin)
🔹 Search Trains by Route
🔹 Book and Cancel Tickets
🔹 View Booking History
🔹 Interactive GUI with Java Swing
🛠️ Tech Stack
- Java (Swing) – Frontend GUI
- MySQL – Backend database
- JDBC – Java Database Connectivity
📁 Folder Structure
Railway-Management-System/
├── frontend/
├── backend/
├── README.md
└── .gitignore
🔧 Setup Instructions
-
Clone the repository
git clone https://github.com/ShivaniShewale02/Railway-Management-System.git
-
Import the project into your Java IDE (Eclipse, IntelliJ, NetBeans, etc.)
-
Setup the MySQL database
- Open MySQL
- Run the
railway_db.sql file from the database/ folder to create tables
-
Update DB credentials in JDBC connection file
-
Run the application
- Start with the main login window
- Use default admin credentials (if provided)
📌 Future Enhancements
- Integrate payment gateway
- Improve UI/UX with better design frameworks
- Add email notifications for bookings
- Add train live tracking (API-based)
🙋♀️ Author
Shivani Shewale
📧 LinkedIn
💻 GitHub
📄 License
This project is licensed under the MIT License.
⭐ If you found this useful, give it a ⭐ on GitHub!