How prashantmhamunkar/task-tracker works
This is a three-tier task-tracking application: a browser UI lets users create, list, toggle, and delete tasks through a Flask API backed by PostgreSQL. The README also documents health endpoints and containerized frontend/backend/database services. Source excerpts confirm the frontend-to-API and API-to-database behavior; the documented Nginx proxy and database initialization provide the remaining wiring. The database initialization SQL and deployment configuration were not excerpted, so their internal details are not inferred.
Main entry points: app.py Task and health API · docker-compose.yml Compose services · main.js Task interface · nginx.conf Nginx web server
Components 9
Presentation
- Task interface
frontend/src/main.js - Title validation
frontend/src/utils.js - Nginx web server
frontend/nginx.conf
Backend API
- Task and health API
backend/app.py - Database connection
backend/app.py
Persistence
- PostgreSQL
- Task schema
db/init.sql
Container Runtime
- Compose services
docker-compose.yml
Other components
- Task user
Connections 11
- Task user → Task interface: uses
- Task interface → Title validation: validates titles
frontend/src/main.js - Task interface → Nginx web server: requests API
README.md - Nginx web server → Task and health API: proxies API
README.md - Task and health API → Database connection: opens connection
backend/app.py - Database connection → PostgreSQL: connects
backend/app.py - Task and health API → PostgreSQL: reads and writes tasks
backend/app.py - Compose services → PostgreSQL: runs service
README.md - Compose services → Task and health API: runs service
README.md - Compose services → Nginx web server: runs service
README.md - Task schema → PostgreSQL: initializes database
README.md