How nazimsaifi2002-ops/cloudscale-ci-cd works
This repository combines a Flask inventory-and-expense tracker with Terraform configuration for AWS deployment and operations. The user-facing flow is HTTP requests to Flask routes, which create, query, update, or delete inventory and expense records through SQLAlchemy; the home route renders the HTML template. The app also exposes health and CPU-load endpoints. Terraform filenames indicate compute, database, image registry, IAM, monitoring, and dashboard subsystems, but their contents were not sampled, so their wiring is not asserted.
Main entry points: app.py Flask routes · index.html Home page template
Components 12
Tracker application
- Flask routes
app/app.py - Inventory and expenses
app/app.py - SQLAlchemy store
app/app.py - Home page template
app/templates/index.html
AWS infrastructure
- Compute configuration
compute.tf - RDS configuration
rds.tf - Container registry
ecr.tf - IAM configuration
iam.tf - Terraform root configuration
main.tf
Operations
- Monitoring configuration
monitoring.tf - Dashboard configuration
dashboard.tf
Other components
- Web user
Connections 4
- Web user → Flask routes: sends HTTP requests
app/app.py - Flask routes → Inventory and expenses: handles record routes
app/app.py - Inventory and expenses → SQLAlchemy store: reads and writes
app/app.py - Flask routes → Home page template: renders
app/app.py