How msmehdad/taskflow-devops-gitops works
TaskFlow is a Flask task-management app backed by PostgreSQL: users submit tasks or view the latest task list, and the app writes to or reads from the database before rendering the page. The repository also includes Docker and Kubernetes deployment configuration. The app’s database queries and template use are visible in source; deployment wiring is represented only at the level documented in the README, and the Kubernetes manifests were not sampled.
Main entry points: app.py Flask routes · init.sql PostgreSQL tasks · docker-compose.yml Compose setup · Dockerfile App container
Components 8
Task application
- Flask routes
app/app.py - Task page
app/templates/index.html
Task storage
- PostgreSQL tasks
database/init.sql
Deployment
- Compose setup
docker-compose.yml - App container
app/Dockerfile - Kubernetes web
kubernetes/web.yaml - Kubernetes PostgreSQL
kubernetes/postgres.yaml
Other components
- User
Connections 9
- User → Flask routes: submits requests
app/app.py - Flask routes → PostgreSQL tasks: writes tasks
app/app.py - Flask routes → PostgreSQL tasks: reads tasks
app/app.py - Flask routes → Task page: renders
app/app.py - Compose setup → Flask routes: runs app
README.md - Compose setup → PostgreSQL tasks: runs database
README.md - App container → Flask routes: containers
README.md - Kubernetes web → Flask routes: deploys app
- Kubernetes PostgreSQL → PostgreSQL tasks: deploys database