https://github.com/tmonga2208/ticket_checking_system
A simple ticketing system that generates QR codes from a CSV file and verifies them using a web-based scanner. It ensures secure validation with success, failure, and already scanned statuses.
https://github.com/tmonga2208/ticket_checking_system
csv qr-code-generator qr-scanner
Last synced: 3 months ago
JSON representation
A simple ticketing system that generates QR codes from a CSV file and verifies them using a web-based scanner. It ensures secure validation with success, failure, and already scanned statuses.
- Host: GitHub
- URL: https://github.com/tmonga2208/ticket_checking_system
- Owner: tmonga2208
- License: mit
- Created: 2025-03-10T20:14:46.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-10T20:24:59.000Z (3 months ago)
- Last Synced: 2025-03-10T21:26:14.331Z (3 months ago)
- Topics: csv, qr-code-generator, qr-scanner
- Language: TypeScript
- Homepage: https://qrecs.vercel.app/
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ticket Checking System
A basic ticketing system that generates QR codes from a CSV file and verifies them through a web-based scanner.
## Features
- Converts CSV entries into QR codes with unique IDs.
- Generates an output file containing QR codes.
- Uses `html5-qrcode` to scan and validate tickets.
- Displays status messages: **Success**, **Failure**, or **Already Scanned**.## Installation & Usage
### 1. Clone the Repository
```sh
git clone https://github.com/tmonga2208/ticket_checking_system.git
cd ticket_checking_system
```### 2. Generate QR Codes from CSV
Navigate to the `python_script` folder and run the script:
```sh
cd python_script
python qrscript.py
```This script:
- Reads the CSV file containing names and unique IDs.
- Generates QR codes for each entry.
- Creates an output file containing the QR codes.### 3. Use the Website for Scanning
- Use the generated output file in the web interface.
- The website utilizes `html5-qrcode` for scanning.
- It validates the unique ID and displays the result:
- ✅ **Success**: Valid ticket.
- ❌ **Failure**: Invalid ticket.
- ⚠️ **Already Scanned**: Ticket was used before.## Technologies Used
- **Python** (for QR code generation)
- **HTML5 + JavaScript** (`html5-qrcode` for scanning)## Contribution
Feel free to fork and contribute by creating pull requests.
## License
This project is open-source and available under the MIT License.
---
Happy scanning! 🚀