Skip to content

Python-based application simulating a railway reservation system, offering features like booking tickets, updating user profiles, viewing train details, and managing food services

Notifications You must be signed in to change notification settings

LSUDOKO/Railway_reservation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚂 Railway Reservation System

A Python-based application simulating a railway reservation system, offering features like booking tickets, updating user profiles, viewing train details, and managing food services.

✨ Features

  • 👤 User Management: Create, login, and delete user accounts.
  • 🎫 Ticket Booking: Reserve seats in different coach classes.
  • 🕒 Train Details: View detailed train schedules and routes.
  • 🍽️ Food Services: Select and order meals during the journey.
  • 🔧 Profile Management: Update account information.
  • 📝 Issues Reporting: Submit and manage user complaints.

🛠️ Installation

Clone the repository:

git clone https://github.com/your-username/railway-reservation-system.git

Install the required Python package:

pip install mysql-connector-python

Set up the database:

  • Update database credentials in the script (host, user, password).
  • Ensure MySQL Server is running locally.

🚀 Usage

Run the script:

python ARPIT.py

Follow the on-screen instructions to:

  • 🆕 Create an account or log in.
  • 🎟️ Book or cancel tickets.
  • 🚆 View train details.
  • 🍲 Order food.
  • 🛠️ Report issues.

🗂️ Project Structure

  • Database Management: Automated creation of databases and tables (e.g., details, booking, food).
  • Core Functionalities:
    • insert(): For account creation.
    • booking(): For ticket reservations.
    • food_de(): For managing food orders.
  • Other utility functions for login, profile update, and issue reporting.

🤝 Contribution

Contributions are welcome! Please fork the repository and submit a pull request.

📜 License

This project is licensed under the MIT License. See LICENSE for more information.

Feel free to adjust any sections or add more details as needed.

About

Python-based application simulating a railway reservation system, offering features like booking tickets, updating user profiles, viewing train details, and managing food services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages