Skip to content

Rai-Aaditya/Railway_Reservation

Repository files navigation

Indian Railways Ticket Booking System 🚆🎫

Welcome to the Indian Railways Ticket Booking System! This web-based application allows users to seamlessly browse train options, book tickets, check PNR status, track live train status, and cancel tickets. The system is designed using HTML, PHP, Javascript, and utilizes a MySQL database to store and manage user and booking information.

Features 🌟

  • User-friendly Interface: The website offers an intuitive and easy-to-navigate interface, making it convenient for users to explore and book train tickets.

  • Guest Access: Users can view train schedules, routes, and availability without needing to log in.

  • User Authentication: Users can create accounts or log in to access advanced features such as booking tickets, checking PNR status, and more.

  • Ticket Booking: Logged-in users can search for available trains, select preferred options, and book tickets seamlessly.

  • PNR Status: Users can enter their PNR number to check the current status of their booked tickets.

  • Live Train Status: Track real-time information about a specific train's current location, expected arrival and departure times, and more.

  • Ticket Cancellation: In case of changes in plans, users can cancel their booked tickets conveniently through their accounts.

Technologies Used 🛠️

  • Frontend: HTML, CSS, JavaScript
  • Backend: PHP
  • Database: MySQL

Installation ⚙️

  1. Clone this repository to your local machine using:

    git clone https://github.com/your-username/indian-railways-ticket-booking.git
  2. Set up a web server (such as Apache) to serve the PHP files.

  3. Import the provided MySQL database schema using a tool like phpMyAdmin or the MySQL command line.

  4. Update the database connection details in the config.php file.

Usage 🚀

  1. Open your web browser and navigate to the application's URL.

  2. Explore train schedules, routes, and availability as a guest.

  3. Create an account or log in to access advanced features.

  4. Book tickets by selecting your desired train, providing passenger information, and making payment.

  5. Check PNR status by entering your PNR number.

  6. Track live train status by entering the train number.

  7. Cancel booked tickets if needed.

Screenshots 📸

Home Page image

Login Page image

Booking Page image

Contributors 🙌


We hope you enjoy using the Indian Railways Ticket Booking System! If you encounter any issues or have suggestions for improvements, please feel free to open an issue on this repository. Happy travels! 🚆✨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published