How destinym01/andujar-online-iac works
Andujar Online is a Django REST API delivered as a containerized service on Azure AKS. The main request path routes user API calls to user handlers, which validate/serialize and read or write SQLite-backed user records; health and admin endpoints are additional capabilities. The README documents the CI/CD, Kubernetes, and Terraform deployment branches. Runtime source supports the API wiring; deployment relationships are based on README descriptions because those files were not sampled.
Main entry points: deployment.yml Django deployment · azure-pipelines.yml CI/CD pipeline · urls.py Project routes · views.py User handlers
Components 20
API runtime
- Project routes
demo/urls.py - User routes
api/urls.py - User handlers
api/views.py - Health check
api/views.py - User serializer
api/serializers.py - User model
api/models.py - SQLite database
demo/settings.py - Admin panel
api/admin.py
Kubernetes runtime
- Ingress
k8s/ingress.yml - Kubernetes service
k8s/service.yml - Django deployment
k8s/deployment.yml - Runtime config
k8s/configmap.yml - Kubernetes secret
k8s/secret.yml - Pod autoscaler
k8s/hpa.yml
Image delivery
- API container
Dockerfile - CI/CD pipeline
azure-pipelines.yml - Azure registry
Azure provisioning
- Terraform config
terraform/main.tf - Azure resources
Other components
- API client
Connections 22
- API client → Ingress: HTTPS requests
- Ingress → Kubernetes service: forwards traffic
- Kubernetes service → Django deployment: routes requests
- Django deployment → Project routes: serves Django
- Project routes → User routes: includes API routes
- Project routes → Health check: dispatches health
- User routes → User handlers: dispatches users
- User handlers → User serializer: serializes data
- User handlers → User model: queries and saves
- User serializer → User model: maps fields
- User model → SQLite database: persists records
- API client → Admin panel: admin access
- Runtime config → Django deployment: provides settings
- Kubernetes secret → Django deployment: provides secret
- Pod autoscaler → Django deployment: scales replicas
- CI/CD pipeline → API container: builds image
- CI/CD pipeline → Azure registry: pushes image
- Azure registry → Django deployment: supplies image
- CI/CD pipeline → Django deployment: deploys manifests
- Terraform config → Azure resources: provisions resources
- Azure resources → Azure registry: hosts registry
- Azure resources → Django deployment: hosts AKS