How shumetworku/ea-foods-devops-assignment works
EA Foods is a small food-orders platform and its AWS delivery setup. The main user workflow is HTTPS through the load balancer to the Django orders API, which reads orders from MySQL; readiness checks verify database access. A separate Node service exposes notification and health endpoints. The README also documents image delivery, gated staging-to-production releases, rollback, logs, alarms, and backups. Application relationships are supported by the excerpts and README; infrastructure and delivery internals are mostly unsampled, so those links reflect documented architecture rather than inspected implementation.
Main entry points: views.py Orders API · ecs-service Fargate services · alb HTTPS load balancer · deploy.yml Deploy workflow
Components 18
Application services
- Orders API
apps/orders-api/orders/views.py - Order records
apps/orders-api/orders/models.py - Health check
apps/orders-api/orders_api/middleware.py - API routing
apps/orders-api/orders_api/urls.py - Notification service
apps/notify-svc/server.js
AWS runtime
- HTTPS load balancer
infra/modules/alb - RDS MySQL
infra/modules/rds - Fargate services
infra/modules/ecs-service - VPC network
infra/modules/network - Container registry
infra/registry.tf - Secrets Manager
infra/secrets.tf
Release delivery
- GitHub Actions
- Deploy workflow
.github/workflows/deploy.yml - Production approval
.github/workflows/deploy.yml - Rollback workflow
.github/workflows/rollback.yml
Reliability
- Logs and alarms
infra/modules/monitoring - SNS alerts
infra/modules/monitoring
Other components
- Internet users
Connections 21
- Internet users → HTTPS load balancer: HTTPS requests
README.md - HTTPS load balancer → Orders API: routes /orders
README.md - HTTPS load balancer → Notification service: routes /notify
README.md - Orders API → API routing: handled by
apps/orders-api/orders_api/urls.py - API routing → Orders API: dispatches orders
apps/orders-api/orders_api/urls.py - Orders API → Order records: queries orders
apps/orders-api/orders/views.py - Health check → Orders API: handles /health
apps/orders-api/orders_api/middleware.py - Orders API → RDS MySQL: reads orders
README.md - Orders API → RDS MySQL: checks readiness
apps/orders-api/orders/views.py - Fargate services → Orders API: runs service
README.md - Fargate services → Notification service: runs service
README.md - Fargate services → Secrets Manager: injects at startup
README.md - VPC network → RDS MySQL: isolates database
README.md - GitHub Actions → Deploy workflow: triggers
README.md - Deploy workflow → Container registry: pushes images
README.md - Deploy workflow → Production approval: requests approval
README.md - Production approval → Fargate services: permits production deploy
README.md - Rollback workflow → Fargate services: redeploys prior image
README.md - Orders API → Logs and alarms: emits logs
README.md - Notification service → Logs and alarms: emits logs
README.md - Logs and alarms → SNS alerts: sends alarms
README.md