How iamgunturi/kubernetes works
The repository contains three separate web applications: a Go calculator, a Node.js task API, and a Django demo site. Their user-facing flows are respectively HTTP requests to calculation or static-file routes, requests dispatched to task CRUD handlers, and requests routed through Django URL configurations. The Go and Node.js excerpts show their handler logic; Django excerpts show project-level routing and server entry points, but not the demo views or settings. The diagram keeps those unsampled Django components visible without guessing their behavior or wiring.
Main entry points: main.go HTTP server · urls.py Project URL config · server.js Express server · tasks.js Task routes
Components 15
Go Calculator
- HTTP server
calculator-web/main.go - Calc handler
calculator-web/main.go - Expression evaluator
calculator-web/main.go - Static UI
calculator-web/static/index.html
Node Task API
- Express server
nodejs-project/server.js - Task routes
nodejs-project/routes/tasks.js - In-memory tasks
nodejs-project/routes/tasks.js
Django Demo
- ASGI entry
python-web-app/devops/devops/asgi.py - WSGI entry
python-web-app/devops/devops/wsgi.py - Project URL config
python-web-app/devops/devops/urls.py - Demo URL config
python-web-app/devops/demo/urls.py - Demo views
python-web-app/devops/demo/views.py - Demo template
python-web-app/devops/demo/templates/demo_site.html
Other components
- Web client
- Web client
Connections 12
- Web client → HTTP server: sends requests
calculator-web/main.go - HTTP server → Calc handler: routes /calc
calculator-web/main.go - Calc handler → Expression evaluator: evaluates expression
calculator-web/main.go - HTTP server → Static UI: serves files
calculator-web/main.go - Web client → Express server: sends requests
nodejs-project/server.js - Express server → Task routes: mounts /tasks
nodejs-project/server.js - Task routes → In-memory tasks: reads and updates
nodejs-project/routes/tasks.js - Web client → ASGI entry: sends requests
- Web client → WSGI entry: sends requests
- Project URL config → Demo URL config: includes /demo
python-web-app/devops/devops/urls.py - Project URL config → Demo views
- Demo views → Demo template