Fully functional website written by Django for cinema ticket sales.
This project is a web application for managing and selling cinema tickets. It is built using Django, a high-level Python web framework that encourages rapid development and clean, pragmatic design.
- User authentication and authorization
- Movie management (CRUD operations)
- Show time management
- Ticket booking and purchase
- Payment processing
- User profile management
- Admin dashboard for managing the site
- Python 3.8 or higher
- Django 3.2 or higher
- A virtual environment tool (e.g.,
venv
orvirtualenv
)
-
Clone the repository
git clone https://github.com/theonlykingpin/Cinema.git cd Cinema
-
Create and activate a virtual environment
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the required dependencies
pip install -r requirements.txt
-
Apply migrations
python manage.py migrate
-
Create a superuser
python manage.py createsuperuser
-
Run the development server
python manage.py runserver
-
Access the site at
http://127.0.0.1:8000/
- Register a new user or log in with an existing account.
- Browse available movies and showtimes.
- Book and purchase tickets.
- Manage your profile and view booking history.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature-branch
) - Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.