How ty2k04/multitenant-todo-task works
This repository is a Dockerized, multi-user todo application. The user workflow is browser UI → Nginx entry point → Flask API: users register or log in, then manage private todos and view statistics or notifications; MySQL persists application data. A separate worker polls todos and creates notifications. The README documents the service roles and product capabilities, while the sampled API and worker source confirms their database operations. Frontend-to-API routing details are not shown in the excerpts, so that relationship is marked unverified. CI/CD is omitted as delivery infrastructure.
Main entry points: init.sql MySQL Data · index.html Web UI · nginx.conf Nginx Proxy · app.py Registration & Login
Components 9
User Access
- Web UI
frontend/index.html - Nginx Proxy
proxy/nginx.conf
Todo API
- Registration & Login
api/app.py - Todo Operations
api/app.py - User Statistics
api/app.py - Notification API
api/app.py
Persistence
- MySQL Data
db/init.sql
Background Activity
- Activity Worker
worker/worker.py
Other components
- User
Connections 10
- User → Web UI: uses
README.md - Web UI → Nginx Proxy: enters via
README.md - Nginx Proxy → Web UI: serves UI
README.md - Nginx Proxy → Registration & Login: routes requests
- Web UI → Registration & Login: calls API
- Registration & Login → MySQL Data: reads/writes
api/app.py - Todo Operations → MySQL Data: reads/writes
api/app.py - User Statistics → MySQL Data: queries
api/app.py - Notification API → MySQL Data: queries
api/app.py - Activity Worker → MySQL Data: reads/writes
worker/worker.py