How rohitgit20/three-tier-devops works
TaskFlow is a browser-based task manager: users register or log in, then create, view, edit, and delete their tasks through an authenticated API. The API verifies JWTs and reads or writes PostgreSQL; request logs feed the documented Prometheus/Grafana monitoring path. The repository also documents local Docker Compose operation and AWS, Azure, and GCP deployment options using Kubernetes, Helm, and Terraform. Deployment relationships reflect README capabilities and directory structure; unsampled infrastructure details are not inferred.
Main entry points: server.js Express API · App.jsx TaskFlow UI · 01_schema.sql PostgreSQL · docker-compose.yml Local stack
Components 17
Web application
- TaskFlow UI
frontend/src/App.jsx - React entry
frontend/src/main.jsx
API and data
- Express API
backend/src/server.js - JWT authentication
backend/src/utils/auth.js - Database pool
backend/src/db.js - PostgreSQL
database/init/01_schema.sql
Deployment platform
- Local stack
docker-compose.yml - Kubernetes manifests
kubernetes/base - Helm chart
helm/three-tier-app - Cloud provisioning
terraform
Observability
- Request logger
backend/src/middleware/logger.js - Prometheus
monitoring/prometheus.yml - Grafana dashboard
monitoring/grafana-dashboard.json
Other components
- Web user
- AWS
- Azure
- GCP
Connections 21
- Web user → TaskFlow UI: uses
- React entry → TaskFlow UI: renders
- TaskFlow UI → Express API: calls API
- Express API → JWT authentication: verifies tokens
- Express API → Database pool: queries
- Database pool → PostgreSQL: reads/writes
- Express API → Request logger: records requests
- Request logger → Prometheus: provides logs
- Prometheus → Grafana dashboard: supplies metrics
- Local stack → TaskFlow UI: runs locally
- Local stack → Express API: runs locally
- Local stack → PostgreSQL: runs locally
- Kubernetes manifests → TaskFlow UI: deploys
- Kubernetes manifests → Express API: deploys
- Kubernetes manifests → PostgreSQL: deploys
- Helm chart → TaskFlow UI: deploys
- Helm chart → Express API: deploys
- Helm chart → PostgreSQL: deploys
- Cloud provisioning → AWS: provisions
- Cloud provisioning → Azure: provisions
- Cloud provisioning → GCP: provisions