How souravsahoo08/microservice-on-k8s works
TaskFlow is a small task-management app: a browser uses a static page to list, create, update, and delete tasks through a Node/Express API, which persists them in Postgres. The repository also contains Kubernetes configuration and Terraform infrastructure files. The API and frontend flow is documented and the API’s database operations are visible in source; deployment relationships are described in the README, but the deployment files were not sampled, so those links are limited to documented behavior.
Main entry points: index.html Task page · server.js Tasks API · taskflow_backend.yml Backend workload · nginx.conf Static serving config
Components 11
Task application
- Task page
frontend/index.html
Runtime services
- Tasks API
backend/server.js - Postgres tasks
- Static serving config
frontend/nginx.conf
Deployment and infrastructure
- Frontend workload
kubernetes/taskflow_frontend.yml - Backend workload
kubernetes/taskflow_backend.yml - Runtime config
kubernetes/taskflow_configmap.yml - Kubernetes namespace
kubernetes/taskflow_ns.yml - Cloud infrastructure
Terraform/main.tf
Other components
- Task user
- Kubernetes cluster
Connections 9
- Task user → Task page: uses
README.md - Task page → Tasks API: HTTP task requests
README.md - Tasks API → Postgres tasks: queries tasks
backend/server.js - Static serving config → Task page: serves static files
README.md - Frontend workload → Task page: deploys
- Backend workload → Tasks API: deploys
- Runtime config → Backend workload: configures
README.md - Kubernetes namespace → Kubernetes cluster: declares namespace
- Cloud infrastructure → Kubernetes cluster: provisions
README.md