Skip to content

Fockus26/Tickets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎫 Tickets – Web App

A simple ticket management web application built with Python (Flask). Designed primarily as the frontend/API client for BotTickets, allowing users to create, edit, and delete tickets through a basic web interface.


🌍 Overview

Tickets is a lightweight web project with a minimal UI. Its main purpose is to provide endpoints and a simple interface to interact with BotTickets.

Users can manage tickets directly from the site, but the focus is on backend functionality rather than design.


✨ Features

  • βž• Add new tickets
  • ✏️ Edit existing tickets
  • ❌ Delete tickets
  • πŸ“„ List and manage all tickets
  • πŸ”— API integration with BotTickets

πŸ“Έ Showcase

πŸ” Login

Login

πŸ“Š Dashboard

Dashboard

🎟 Add Ticket

Add Ticket

✏ Edit Ticket

Edit Ticket


πŸ›  Tech Stack

  • Backend: Flask (Python)
  • Frontend: HTML5, CSS3, JavaScript
  • Deployment: Vercel

πŸ“‚ Project Structure

Tickets/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ config.py
β”œβ”€β”€ extensions.py
β”œβ”€β”€ requirements.txt
β”‚
β”œβ”€β”€ database/
β”‚   └── ticket.db
β”‚
β”œβ”€β”€ models/
β”‚   └── ticket.py
β”‚
β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ api_routes.py
β”‚   β”œβ”€β”€ auth_routes.py
β”‚   └── web_routes.py
β”‚
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ decorators.py
β”‚   β”œβ”€β”€ helpers.py
β”‚   └── validators.py
β”‚
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ add_ticket.html
β”‚   β”œβ”€β”€ base.html
β”‚   β”œβ”€β”€ dashboard.html
β”‚   β”œβ”€β”€ edit_ticket.html
β”‚   └── login.html
β”‚
β”œβ”€β”€ static/
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ styles.css
β”‚   └── js/
β”‚       β”œβ”€β”€ filter.js
β”‚       β”œβ”€β”€ main.js
β”‚       β”œβ”€β”€ sections.js
β”‚       └── utils.js
β”‚
└── assets/


βš™οΈ Installation & Setup

Clone repo

git clone https://github.com/fockus26/Tickets.git
cd Tickets

Create virtual environment

python -m venv venv
source venv/bin/activate   # macOS/Linux
venv\Scripts\activate      # Windows

Install dependencies

pip install -r requirements.txt

Environment Variables

Create a .env file with:

FLASK_KEY=YOUR_FLASK_KEY
API_KEY=YOUR_API_KEY
DB_URL=YOuR_DB_URL
ADMIN_USER=admin1234
ADMIN_PASS=I3S%Hl@%P

Run the app

python main.py

The app will run on: πŸ‘‰ http://localhost:5000


πŸ“– Case Study

This project was created as the frontend/API companion for BotTickets.

While not visually optimized, it fulfills its purpose of managing tickets and exposing endpoints that BotTickets consumes to automate purchases.


πŸ“ˆ Future Improvements

  • πŸ“± Responsive redesign for mobile

πŸ“œ License

This project is proprietary software. All rights reserved. Unauthorized use, copying, modification, or distribution of this code is strictly prohibited without prior written permission.

About

A lightweight Flask web app for managing tickets, built as the API/frontend client for BotTickets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published