A full-stack serverless e-commerce platform demonstrating enterprise-level architecture, modern development practices, and intelligent cost optimization through scalable cloud solutions. This project showcases real-world problem-solving capabilities through a complete serverless application built collaboratively with ChatGPT and Claude AI assistants.
This project demonstrates enterprise-grade cost optimization through strategic infrastructure lifecycle management:
This approach showcases both advanced full-stack development capabilities and cloud financial engineering expertise.
This architecture pattern is ideally suited for enterprise digital marketplaces where organizations need to:
Digital Product Catalog Management
Key Business Benefits:
Example Implementation: A global healthcare company could use this pattern to create a partner portal where:
The serverless architecture ensures the platform remains responsive whether serving 100 or 100,000 concurrent users, making it perfect for enterprise environments with unpredictable usage patterns.
Complete evidence of successful full-stack deployment with comprehensive screenshots and logs:
Frontend Deployment:
- Professional interface with clear UX
- Real-time data integration
- Vite development environmentBackend & Infrastructure:
- Live REST endpoints validation
- Complete AWS infrastructure deployment
- Production server validationProduction URLs (Deployment Evidence):
http://18.232.96.171:5174 (React dashboard - screenshot documented)https://f59moopdx0.execute-api.us-east-1.amazonaws.com (REST endpoints - validated)All screenshots generated during live production deployment and validation phases.
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β React Frontendββββββ API Gateway ββββββ Lambda Functionsβ
β (Screenshots) β β (Validated) β β (Validated) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β
β β
βββββββββββββββββββ βββββββββββββββββββ
β DynamoDB β β Stripe API β
β (Production) β β (Framework) β
βββββββββββββββββββ βββββββββββββββββββ
β
βββββββββββββββββββ
β Cost-Optimized β
β Management β
βββββββββββββββββββ
digital-value-chain/
βββ backend/
β βββ app.py # Original FastAPI version
β βββ lambda_handler.py # Lambda-compatible handler
β βββ requirements.txt # Python dependencies
βββ frontend/
β βββ src/
β β βββ App.jsx # Main React component
β β βββ main.jsx # Application entry point
β βββ index.html # HTML template
β βββ package.json # Node.js dependencies
β βββ vite.config.js # Vite configuration
βββ infra/
β βββ template.yaml # SAM CloudFormation template
βββ scripts/
β βββ seed_offers.py # Database seeding utility
βββ screenshots/ # **DEPLOYMENT EVIDENCE**
β βββ dashboard-empty.png # Empty dashboard state
β βββ dashboard-populated.png # Dashboard with offers
β βββ api-health.png # API endpoint response
β βββ cloudformation.png # AWS stack deployment
β βββ vite-server.png # Development server
β βββ fastapi-backend.png # Backend server logs
βββ README.md # This documentation
| Method | Endpoint | Description | Status |
|---|---|---|---|
GET |
/ |
Health check endpoint | β Validated |
GET |
/offers |
List all available offers | β Validated |
POST |
/offers |
Create new offer | β Validated |
POST |
/checkout |
Initialize Stripe checkout session | π§ Framework Ready |
POST |
/stripe/webhook |
Handle Stripe payment webhooks | π§ Framework Ready |
# Production endpoints (reactivation required for live testing)
# List offers
curl https://f59moopdx0.execute-api.us-east-1.amazonaws.com/offers
# Create new offer
curl -X POST https://f59moopdx0.execute-api.us-east-1.amazonaws.com/offers \
-H "Content-Type: application/json" \
-d '{"sku": "premium-001", "name": "Premium Plan", "price": 99.99}'
git clone https://github.com/yourusername/digital-value-chain.git
cd digital-value-chain
cd infra
sam build
sam deploy --guided
cd ../frontend
npm install
npm run dev -- --host
cd ../scripts
python3 seed_offers.py
Cost Management Note: EC2 instances can be stopped after development/testing to avoid continuous charges. All infrastructure can be reactivated instantly using the provided SAM templates.
This project demonstrates real-world problem-solving through complex technical challenges:
Challenge: Backend port 8000 already in use during development
# Solution: Process identification and cleanup
lsof -i :8000
pkill -f "process_name"
Challenge: Multiple credential conflicts between AWS CLI and IAM roles
# Solution: Proper IAM role attachment and credential cleanup
aws configure list
aws sts get-caller-identity
Challenge: SAM template specified python3.11 but EC2 had python3.9
# Solution: Updated template.yaml
Runtime: python3.9 # Changed from python3.11
Challenge: FastAPI code incompatible with Lambda execution
# Solution: Created separate lambda_handler.py
def lambda_handler(event, context):
# Proper AWS Lambda event handling
return {
"statusCode": 200,
"headers": {"Access-Control-Allow-Origin": "*"},
"body": json.dumps(response_data)
}
Challenge: Python float types not supported by DynamoDB
# Solution: Data type conversion function
from decimal import Decimal
def convert_float_to_decimal(obj):
if isinstance(obj, float):
return Decimal(str(obj))
return obj
Challenge: Frontend blocked by CORS policy
# Solution: Comprehensive CORS in SAM template
Globals:
HttpApi:
CorsConfiguration:
AllowOrigins: ["*"]
AllowMethods: ["GET", "POST", "PUT", "DELETE"]
AllowHeaders: ["Content-Type", "Authorization"]
Challenge: Failed deployments due to resource conflicts
# Solution: Stack cleanup and proper naming
aws cloudformation delete-stack --stack-name digital-chain-stack
aws cloudformation wait stack-delete-complete --stack-name digital-chain-stack
Frontend Features:
dashboard-empty.png, dashboard-populated.png)Backend Features:
api-health.png)Infrastructure Features:
cloudformation.png)| Screenshot | Purpose | Status |
|---|---|---|
dashboard-empty.png |
Empty dashboard state with clear call-to-action | β Documented |
dashboard-populated.png |
Dashboard with 8 sample offers from DynamoDB | β Documented |
api-health.png |
API Gateway endpoint returning health check | β Documented |
cloudformation.png |
AWS SAM CloudFormation stack deployment | β Documented |
vite-server.png |
React development server with network access | β Documented |
fastapi-backend.png |
Backend server running with request logging | β Documented |
This project demonstrates several key technical competencies:
This project showcases the future of software development where human creativity combines with AI efficiency to solve complex technical challenges rapidly and effectively.
Technical Roadmap
Cost Engineering Enhancements
Business Enhancements
Built with modern technologies β’ AI-assisted development β’ Enterprise-ready architecture β’ Cost-optimized for sustainability