The Ticket Show App is a web application designed to showcase tickets. It consists of a backend and a frontend component. The backend handles data storage, processing, and communication, while the frontend provides a user interface to interact with the app.
Users can book show tickets, interact with show details via APIs, and manage bookings. Admin dashboard featuring revenue statistics and detailed show insights. Utilized Redis and Celery for backend management with caching for performance, ensured security through token-based authentication.
Tech stack : Vuejs, Python, Flask, Redis, Celery, Bootstrap.
backend/
db_directory/
ticket_show_app/
static/
pdf/
templates/
frontend/
ticket_show_app/
public/
src/
assets/
components/
router/
store/
views/
-
Create and activate a virtual environment:
cd backend virtualenv env source env/bin/activate Install backend dependencies and run main.py pip install -r requirements.txt python3 main.py
-
Start the Redis server in a new terminal window:
redis-server
-
Run Celery worker:
celery -A main.celery worker -l info
-
Run Celery beat:
celery -A main.celery beat --max-interval 1 -l info
-
Start MailHog for email testing (assuming you have MailHog installed):
/home/<root>/go/bin/MailHog mailhog -api-bind-addr 127.0.0.1:8025 -ui-bind-addr 127.0.0.1:8025 -smtp-bind-addr 127.0.0.1:1025
-
Navigate to the frontend directory:
cd frontend/ticket_show_app
-
Install frontend dependencies:
npm install
-
Run the development server
npm run dev