How likithareddy-05/cloudmart-capstone works
CloudMart is an AWS e-commerce backend. The main workflow authenticates API requests, dispatches product/inventory or order operations, and persists application data in MySQL. Orders also emit events for asynchronous processing; scheduled reporting writes CSVs to S3 for the Flask admin dashboard. The graph preserves documented monitoring and notification capabilities. Some service wiring is described only in the README, so those relationships cite it; source excerpts provide evidence for database and S3 access, but not all runtime configuration.
Main entry points: schema.sql RDS MySQL · order/lambda_function.py Order processing · report/lambda_function.py Report generator · app.py Flask dashboard
Components 16
API and identity
- API Gateway
- Request authorizer
lambda/authorizer/lambda_function.py
Commerce services
- Product and inventory
lambda/product/lambda_function.py - Order processing
lambda/order/lambda_function.py - RDS MySQL
database/schema.sql
Events and reporting
- EventBridge
- Low-stock alerts
lambda/inventory-alert/lambda_function.py - Report generator
lambda/report/lambda_function.py - S3 reports
- Scheduled rule
Administration and operations
- Flask dashboard
dashboard/app.py - CloudWatch alarms
- SNS notifications
Other components
- API client
- Administrator
- Operations team
Connections 19
- API client → API Gateway: sends requests
README.md - API Gateway → Request authorizer: authorizes via
README.md - Request authorizer → RDS MySQL: validates against
lambda/authorizer/lambda_function.py - API Gateway → Product and inventory: routes requests
README.md - API Gateway → Order processing: routes requests
README.md - Product and inventory → RDS MySQL: reads and writes
README.md - Order processing → RDS MySQL: reads and writes
README.md - Order processing → EventBridge: publishes order events
README.md - EventBridge → Low-stock alerts: routes events
README.md - Low-stock alerts → SNS notifications: publishes alerts
lambda/inventory-alert/lambda_function.py - EventBridge → Scheduled rule: schedules reports
README.md - Scheduled rule → Report generator: invokes
README.md - Report generator → RDS MySQL: queries data
lambda/report/lambda_function.py - Report generator → S3 reports: stores CSV reports
lambda/report/lambda_function.py - Administrator → Flask dashboard: uses
README.md - Flask dashboard → RDS MySQL: queries data
dashboard/app.py - Flask dashboard → S3 reports: lists and downloads
dashboard/app.py - CloudWatch alarms → SNS notifications: sends alarm notifications
README.md - SNS notifications → Operations team: notifies
README.md