How sandeepkumar1703/three-tier-devops works
TaskFlow is a three-tier task-management application: users register or log in, then manage their own tasks through a React UI backed by an Express API and PostgreSQL. The repository also delivers local Docker Compose operation, Kubernetes/Helm deployment options, multi-cloud Terraform provisioning, and Prometheus/Grafana observability. API and database behavior is supported by sampled source; deployment and monitoring relationships reflect the README and repository structure, whose implementation details were not sampled.
Main entry points: server.js Express API · App.jsx React UI · base Kubernetes manifests · docker-compose.yml Local stack
Components 19
TaskFlow application
- React UI
frontend/src/App.jsx - Express API
backend/src/server.js - JWT authentication
backend/src/utils/auth.js
Runtime and data
- Runtime config
backend/src/config.js - Database pool
backend/src/db.js - PostgreSQL schema
database/init/01_schema.sql - PostgreSQL
- Local stack
docker-compose.yml
Observability
- Structured access logs
backend/src/middleware/logger.js - Prometheus
monitoring/prometheus.yml - Grafana dashboard
monitoring/grafana-dashboard.json
Workload deployment
- Kubernetes manifests
kubernetes/base - Cloud overlays
kubernetes/overlays - Helm chart
helm/three-tier-app
Cloud provisioning
- Terraform plans
terraform - AWS
- Azure
- GCP
Other components
- Web user
Connections 24
- Web user → React UI: uses
- React UI → Express API: sends auth and task requests
- Express API → JWT authentication: validates tokens; issues JWTs
- Express API → Database pool: queries users and tasks
- Database pool → PostgreSQL: reads and writes
- PostgreSQL schema → PostgreSQL: defines tables
- Express API → Runtime config: reads settings
- Database pool → Runtime config: reads connection settings
- Express API → Structured access logs: records request logs
- Prometheus → Structured access logs: scrapes metrics
- Prometheus → Grafana dashboard: feeds dashboards
- Local stack → React UI: runs locally
- Local stack → Express API: runs locally
- Local stack → PostgreSQL: runs locally
- Kubernetes manifests → React UI: deploys
- Kubernetes manifests → Express API: deploys
- Kubernetes manifests → PostgreSQL: deploys
- Cloud overlays → Kubernetes manifests: configures clouds
- Helm chart → React UI: deploys
- Helm chart → Express API: deploys
- Helm chart → PostgreSQL: deploys
- Terraform plans → AWS: provisions
- Terraform plans → Azure: provisions
- Terraform plans → GCP: provisions