How debby531/412630708_tkucvt works
This repository includes coursework materials and a small Flask service. The service handles requests at / and /healthz, opens PostgreSQL connections from environment settings, and runs a query for each endpoint. The excerpts show the service and database interactions; the database is an external dependency.
Main entry points: app.py Home endpoint
Components 5
Web service
- Home endpoint
final_412630708/app/app.py - Health endpoint
final_412630708/app/app.py
Database
- DB connector
final_412630708/app/app.py - PostgreSQL
Other components
- HTTP client
Connections 7
- HTTP client → Home endpoint: requests
final_412630708/app/app.py - HTTP client → Health endpoint: checks
final_412630708/app/app.py - Home endpoint → DB connector: opens connection
final_412630708/app/app.py - Health endpoint → DB connector: opens connection
final_412630708/app/app.py - Home endpoint → PostgreSQL: queries time
final_412630708/app/app.py - Health endpoint → PostgreSQL: checks query
final_412630708/app/app.py - DB connector → PostgreSQL: connects
final_412630708/app/app.py