How sricharanreddy5414/cloudcart-elevance-internship works
CloudCart is an e-commerce project centered on EverShop, accompanied by local models and infrastructure designs for six AWS capabilities; the README explicitly says none has been deployed. The clearest implemented runtime path is the local upload API through upload authorization and presigning, with a separate EICAR-only scan worker. The graph also preserves the documented database, scaling, container-delivery, DNS/security, and CloudFront/image-storage capabilities. Relationships involving unsampled infrastructure are documented at the capability level, not verified as deployed wiring.
Main entry points: main.tf CloudFront Distribution · evershop EverShop Store · server.py Local Upload API · pipeline.py Upload Authorization
Components 21
Store and Database
- EverShop Store
application/evershop - PostgreSQL Store DB
docker-compose.yml - Database Security Model
cloudcart/db.py
Image Storage
- Local Upload API
application/api/server.py - Upload Authorization
cloudcart/pipeline.py - Image Storage Helpers
cloudcart/s3.py - Quarantine Scan Worker
security/malware/scan_worker.py - EICAR Event Handler
security/malware/handler.py - Private Image Storage
infrastructure/terraform/task-6-s3-storage/main.tf
Image Delivery Edge
- CloudFront Distribution
infrastructure/terraform/task-5-cloudfront-edge/main.tf - Image Request Handler
application/edge-functions/image-request.js - Query Filter
application/edge-functions/query-filter.js - Cache Headers
application/edge-functions/cache-headers.js - Signed URL Logic
application/edge-functions/signed-url.js - WebP Response Logic
application/edge-functions/webp.js
AWS Platform Design
- DNS and Edge Security
infrastructure/terraform/task-1-route53-acm-waf/main.tf - Private RDS Design
infrastructure/terraform/task-2-secure-rds/main.tf - Scaling Model
cloudcart/scaling.py - ECS and ECR Delivery
infrastructure/terraform/task-4-ecs-ecr/main.tf - CodePipeline Design
ci-cd/codepipeline/pipeline.json
Other components
- Store User
Connections 19
- Store User → EverShop Store: uses store
README.md - EverShop Store → PostgreSQL Store DB: uses database
README.md - Local Upload API → Upload Authorization: authorizes uploads
application/api/server.py - Local Upload API → Image Storage Helpers: presigns objects
application/api/server.py - Upload Authorization → Image Storage Helpers: generates upload form
cloudcart/pipeline.py - Quarantine Scan Worker → Upload Authorization: processes objects
security/malware/scan_worker.py - Store User → Local Upload API: requests upload
- Image Request Handler → CloudFront Distribution: handles viewer request
README.md - Query Filter → CloudFront Distribution: filters query
README.md - Cache Headers → CloudFront Distribution: sets cache headers
README.md - Signed URL Logic → CloudFront Distribution: signs image access
README.md - WebP Response Logic → CloudFront Distribution: plans response conversion
README.md - CloudFront Distribution → Private Image Storage: uses private origin
README.md - DNS and Edge Security → Store User: secures store entry
- Private RDS Design → Database Security Model: models database controls
- Scaling Model → EverShop Store: models store capacity
- ECS and ECR Delivery → EverShop Store: targets store deployment
README.md - CodePipeline Design → ECS and ECR Delivery: delivers containers
README.md - Private Image Storage → EICAR Event Handler: supports image scanning