This is a web application that allows users to book tickets for theater shows. The application is built using the Django web framework and MySQL database, and it exposes a RESTful API for easy integration with other systems.
-
Users can browse upcoming shows and performances
-
Users can book tickets for a particular show and performance
-
Users can view their booking history and ticket details
-
Admin users can manage shows, performances, and bookings
-
API endpoints for creating, retrieving, updating, and deleting shows, performances, and bookings
-
Clone the repository:
git clone https://github.com/your-username/ticket-booking-app.git
-
Install the dependencies:
pip install -r requirements.txt
-
Create a MySQL database and configure the settings in
settings.py
-
Run the database migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
Thanks to the Django and MySQL communities for providing excellent documentation and resources. Thanks to the creators of the REST framework for making it easy to build a RESTful API.