Skip to content

ABC-Quiz

Choose a tag to compare

@Garionhk Garionhk released this 06 Jun 19:54
· 2 commits to main since this release

Release Notes: v1.0.0 (Initial Release)
We are excited to announce the first official release of the Python Multi-Service Quiz Platform. This lightweight, responsive, and completely self-contained ecosystem is designed to host, manage, and track quizzes without the overhead of external web frameworks or package dependencies.

Key Features

  1. Zero-Dependency Architecture
    Built entirely using the Python standard library.

No pip install, Flask, Django, or external database configuration required—just pure Python 3.8+.

  1. Three Interconnected Web Services
    The platform concurrently runs three independent applications on dedicated ports:

Student Quiz Portal (Port 8080): Features secure student authentication, active quiz sessions, an intuitive dark-themed UI, and a live JS countdown timer.

Admin Management Panel (Port 8081): Provides staff with student profile creation/deletion, credential resets, database metric insights, and granular student scorecard visualizations.

Question Editor (Port 8083): A single-page, split-panel dashboard allowing administrators to easily create, update, delete, and dynamically label custom quiz question files.

  1. Built-in Anti-Cheat & Robust Security
    Backend Validation: Automatically calculates elapsed time on the backend (start_time_of_current_question) to prevent students from bypassing countdowns via page refreshes or disabling JavaScript.

Session Management: Implements secure cookie-based sessions backed by an automatic 30-minute idle timeout.

Atomic Data Integrity: Protects local databases (.json) from corruption during simultaneous reads/writes by utilizing a temporary file swap system (.tmp).

Getting Started
Quick Initialization
To set up your default database directories, configuration files, and pre-populated photography questions, run:

Bash
python3 setup.py
Launching the Platform
You can spin up all three services simultaneously using the provided threaded startup coordinator:

Bash
python3 start_all.py
For detailed multi-window manual execution or configuration adjustments, please refer to the README.md file included in the repository.