A small Flask app that provides:
- Student page (
/) where a student enters a numeric ID to join the queue. - Instructor page (
/instructor) with a "Pop" button to remove the next student. - JSON endpoints:
/join,/queue,/pop.
This implementation uses an in-memory queue (no persistence). It's intended for small lab use.
How to run (macOS / zsh):
pwd # should be LabQueue
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
python3 app.pyOpen http://localhost:8000/ in a browser for students and http://localhost:8000/instructor for instructor.