How marian2022/twaaos works
The repository contains two small FastAPI products: an in-memory product inventory in lab02 and successive task-manager applications in lab03–lab05. The task-manager workflow covers account registration and sign-in, JWT-protected user/task operations, and SQLite persistence; lab04 and lab05 also include browser pages. The sampled code supports these flows, but the HTML excerpts and README are unavailable, so browser-to-API links are not asserted. The later task-manager versions are shown separately because their source files are distinct.
Main entry points: lab03/main.py Task operations · lab04/main.py Task operations · lab05/main.py Task operations · lab02/main.py Product endpoints
Components 14
Inventory API
- Product endpoints
lab02/main.py - In-memory inventory
lab02/main.py
Task manager APIs
- Auth and profile
lab03/main.py - Task operations
lab03/main.py - SQLite data
lab03/sarcini.db - Auth and profile
lab04/main.py - Task operations
lab04/main.py - SQLite data
lab04/sarcini.db - Auth and profile
lab05/main.py - Task operations
lab05/main.py - SQLite data
lab05/main.py
Browser clients
- Browser page
lab04/index.html - Browser page
lab05/static/index.html
Other components
- API user
Connections 17
- API user → Product endpoints: manages products
lab02/main.py - Product endpoints → In-memory inventory: reads and updates
lab02/main.py - API user → Auth and profile: registers and signs in
lab03/main.py - API user → Task operations: manages tasks
lab03/main.py - Task operations → Auth and profile: requires identity
lab03/main.py - Auth and profile → SQLite data: reads and writes
lab03/main.py - Task operations → SQLite data: reads and writes
lab03/main.py - API user → Auth and profile: registers and signs in
lab04/main.py - API user → Task operations: manages tasks
lab04/main.py - Task operations → Auth and profile: requires identity
lab04/main.py - Auth and profile → SQLite data: reads and writes
lab04/main.py - Task operations → SQLite data: reads and writes
lab04/main.py - API user → Auth and profile: registers and signs in
lab05/main.py - API user → Task operations: manages tasks
lab05/main.py - Task operations → Auth and profile: requires identity
lab05/main.py - Auth and profile → SQLite data: reads and writes
lab05/main.py - Task operations → SQLite data: reads and writes
lab05/main.py