Git Product home page Git Product logo

train-booking-system's Introduction

Train Booking System

This repository contains the implementation of a train booking system that has multiple feautures as following:

  • Signing up a new user (e.g. admin, customer)
  • Updating a user's details.
  • Adding a train or deleting a train (by admin)
  • Updating a train details (by admin)
  • Adding a trip (by admin)
  • Updating a trip details (by admin)
  • Showing a list of available seats that satisfy certain criteria (e.g. date, time, source, destination, required number of seats…)
  • Performing operations on trips: Booking, and canceling.

Files Included

  • app.py: The main file that runs the app.
  • models.py: a file that contains the classes of the system.
  • databaseSQL.py: a file that contains the database connection and the queries.
  • BuildTables.sql: a file that contains the SQL queries to build the tables.
  • Screenshots.pdf: a file that contains the screenshots of the system.
  • README.md: a file that contains the description of the system.
  • ERD folder: a folder that contains the (Physical - Conceptual) ERD of the system.
  • img folder: a folder that contains the images used in the system.
  • ui folder: a folder that contains the ui files of the system.

How to run the system

Install pyodbc library using the following command:

  • pip install pyodbc

Install pyqt5 library using the following command:

  • pip install pyqt5

Install pyqt5-tools library using the following command:

  • pip install pyqt5-tools

Tools used

  • PyCharm: an integrated development environment (IDE) used in computer programming, specifically for the Python language.
  • Qt Designer: a tool for building graphical user interfaces with Qt widgets from the Qt GUI framework.

train-booking-system's People

Contributors

kareemsakkary avatar nadaamohhamed avatar shahdmoamen avatar

Forkers

shahdmoamen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.