How starflicks/project_cs311 works
Project CS311 is a desktop COVID-19 information and account application. A user interacts with its Tkinter interface to register or log in, then view national and province-level case statistics; the same application includes password recovery and a rule-based chatbot. Account operations use a local SQLite database, recovery sends a verification code through Gmail SMTP, and case data comes from Thailand’s public health API. The single-file tree supports these feature areas, but omitted source limits certainty about some callback wiring.
Main entry points: ProjectCS311.py Account Handlers · projectcs311_database.db Account Database
Components 13
Accounts
- Account Handlers
ProjectCS311.py - Registration
ProjectCS311.py - Login
ProjectCS311.py - Password Recovery
ProjectCS311.py - Account Database
projectcs311_database.db - Gmail SMTP
COVID Information
- Case Dashboard
ProjectCS311.py - National Cases
ProjectCS311.py - Province Cases
ProjectCS311.py - Thai Health API
User Support
- COVID Chatbot
ProjectCS311.py
Other components
- User
- Desktop Interface
ProjectCS311.py
Connections 16
- User → Desktop Interface: uses
- Desktop Interface → Account Handlers: dispatches actions
- Account Handlers → Registration: routes registration
- Account Handlers → Login: routes login
- Account Handlers → Password Recovery: routes recovery
- Registration → Account Database: checks and writes
- Login → Account Database: checks credentials
- Password Recovery → Account Database: checks account
- Password Recovery → Gmail SMTP: sends code
- Desktop Interface → Case Dashboard: opens dashboard
- Case Dashboard → National Cases: loads statistics
- Case Dashboard → Thai Health API: requests case data
- Case Dashboard → Province Cases: selects province
- Province Cases → Thai Health API: requests province data
- Desktop Interface → COVID Chatbot: dispatches messages
- COVID Chatbot → User: displays guidance