Skip to content

Repository files navigation

🌟 Railway Reservation System 🌟

Welcome to the Railway Reservation System, a console-based Java application designed to facilitate user registration, login, train search, ticket booking, and viewing booking history. This application provides an intuitive way for users to manage their train journeys seamlessly.


🎨 Features

  • User Registration: New users can register easily with a username, password, and name.
  • User Login: Existing users can log in to access their accounts.
  • Search Trains: Users can search for trains based on origin and destination.
  • Book Tickets: Users can book tickets for selected trains.
  • View Booking History: Users can view their past bookings.

🛠 Technologies Used

  • Java: The core programming language for the application.
  • Console I/O: All interactions are done through the terminal for simplicity.

📜 Getting Started

Prerequisites

  • Make sure you have Java Development Kit (JDK) installed on your machine.

Installation

  1. Clone this repository:

    git clone https://github.com/Madhur6/IRCTC.git
  2. Navigate to the project directory:

    cd IRCTC
  3. Compile the Java files:

    javac *.java(i.e. javac IRCTC.java)
  4. Run the application:

    java IRCTC

🚀 Usage

  1. Register a New User: Choose option 2 from the main menu to create a new account.
  2. Log In: Choose option 1 to log in with your credentials.
  3. Search for Trains: After logging in, you can search for trains by entering the origin and destination.
  4. Book Tickets: Select a train and specify the number of tickets to book.
  5. View Booking History: Check your past bookings at any time.

🔧 Code Structure

  • IRCTC.java: Main application logic and user flow.
  • Admin: Admin.
  • Coach: Train coach tiers.
  • Train.java: Represents train details and availability.
  • Booking.java: Manages ticket booking details.

🌈 Contributing

Contributions are welcome(Specially from Group 10)! If you have suggestions or improvements, please feel free to submit a pull request or create an issue.


📄 License

This project is licensed under the MIT License.


📞 Contact

If you have any questions, feel free to reach out:


🎉 Acknowledgments

  • Thanks to the open-source community for providing inspiration and resources!
  • Special thanks to Java Documentation for invaluable help in development.

Happy Coding! 🎉

About

Java Ticket Management Console App

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages