Skip to content

Welcome to the Show Ticket Booking Application repository! This comprehensive web application is designed to streamline the process of booking show tickets, providing an intuitive and user-friendly experience for both customers and administrators.

Notifications You must be signed in to change notification settings

ravikumawat7716/Show-Ticketing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Show-Ticketing

Local Project Setup

Prerequisites:

Steps:

  1. Fork the Repository:

    • Click the "Fork" button on the GitHub repository page to create a copy of the project under your GitHub account.
  2. Clone the Repository:

    • Open your terminal and run the following command to clone the repository to your local machine:
      git clone https://github.com/<your-github-username>/Show-Ticketing.git
      
      Replace <your-github-username> with your actual GitHub username.
  3. Navigate to the Project Folder:

    • Use the cd command to move into the project folder:
      cd Show-Ticketing
      

Backend Setup:

  1. Edit the .env File:

    • Inside the project folder, navigate to the backend directory, and edit the .env file. Configure any necessary environment variables.
  2. Create a Virtual Environment:

    • In the backend folder, create a virtual environment with the following command:
      python3 -m venv venv
      
  3. Activate the Virtual Environment:

    • Activate the virtual environment based on your operating system:
      • On Linux:
        source ./venv/bin/activate
        
      • On Windows:
        .\venv\Scripts\activate
        
  4. Install Backend Dependencies:

    • Install the required Python packages using pip:
      pip install -r requirements.txt
      
  5. Start the Backend Server:

    • Run the backend server using:
      python main.py
      
  6. Install and Start Redis:

  7. Run Celery Worker (Linux/Windows Subsystem for Linux):

    • In the backend folder, use the following command to run the Celery worker:
      celery -A main.celeryservice worker --loglevel=INFO
      
  8. Run Celery Beat (Linux/Windows Subsystem for Linux):

    • To run Celery Beat for task scheduling, use the following command:
      celery -A main.celeryservice beat --loglevel=INFO
      

Frontend Setup:

  1. Navigate to the Frontend Directory:

    • In your terminal, navigate to the frontend directory within the project folder.
  2. Install Frontend Dependencies:

    • Install the required Node.js packages by running:
      npm install
      
  3. Run the Application:

    • Start the frontend application by running:
      npm run serve
      

You're now ready to use the Show-Ticketing application locally. Access it in your web browser at http://localhost:8080/.

Enjoy using the application for booking show tickets, and happy coding!

API Documentation

Link - https://documenter.getpostman.com/view/25106396/2s9Xy6qVDy

About

Welcome to the Show Ticket Booking Application repository! This comprehensive web application is designed to streamline the process of booking show tickets, providing an intuitive and user-friendly experience for both customers and administrators.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published