Ticket_Go is a ticket booking system designed to allow users to book, cancel, and view tickets. It uses a variety of data structures to manage and optimize ticket operations, including queues for booking, stacks for cancellations, and linked lists to store booking history.
This project is built using Django for the backend and Python for data structure management.
- Python: The primary programming language for implementing ticket booking logic and data structures.
- Django: The web framework used for building the backend and handling HTTP requests and responses.
- Data Structures:
- Queue: Used for managing ticket bookings in a First-Come-First-Serve (FIFO) manner.
- Stack: Used for handling ticket cancellations and undoing cancellations (Last-In-First-Out).
- Linked List: Used to store the history of ticket bookings, cancellations, and rebookings.
- Booking Tickets: Users can book tickets which are added to a queue.
- Cancel Tickets: Canceled tickets are added to a stack, with the ability to undo cancellations.
- Ticket History: The system keeps track of all bookings, cancellations, and rebookings using a linked list.
- Undo Cancellation: Users can undo cancellations, re-booking the most recently canceled ticket.
To get started with this project, first clone the repository:
git clone https://github.com/Lalit7374/Ticket_Go.git
- Install Dependencies: Installing Django via pip (
pip install django). - Set Up the Project: Running database migrations (
python manage.py migrate). - Running the Project: Running the development server (
python manage.py runserver).




