Core Microservices Architecture - Wiz-DevTech/prettygirllz GitHub Wiki
-
Identity & Access Service
Authentication (OAuth2/JWT)
Role-based authorization
Profile management
Avatar Engine (3D rendering service)
-
Product Catalog Service
Candy Module (SKU management, inventory)
Fashion Module (Size charts, color variants)
Virtual Try-On Adapter (Avatar integration)
-
Logistics Service
Delivery Orchestrator (routes to appropriate handler)
Home Delivery System
-
Drop Zone Network
QR Generation Service
Location Verification
Offline Cache Manager
Fraud Detection (scan anomaly monitoring)
-
Social Commerce Service
Product Chat (WebSocket-based)
Community Feed (TikTok-style)
Content Moderation (AI filter)
-
Frontend Gateway
SSR Templates (JSP)
API Composition Layer
Client-Side Adaptors (Mobile/Web)
-
Location Services Gateway
Google Maps API
WiFi Fingerprinting (for indoor school locations)
Address Validation Service
-
Media Processing Pipeline
DiagramCodeDownloadUpload
Resize
Watermark
CDN
Cloudinary for transformations
Rekognition for content safety
-
Payment Abstraction Layer
Stripe/PayPal connectors
School Meal Card integration
Observability-Centric Grouping:
User-Facing Services (UI, API Gateway)
Transaction Services (Orders, Payments)
Background Services (Recommendations, Notifications)
Infrastructure Services (Service Mesh, Config Server)
Suggested Improvements:
Extract Avatar Service from Identity (high GPU needs)
Separate Fraud Service from Logistics
Add Edge Cache for product images
This structure optimizes for:
Independent scaling of compute-intensive services
Clear domain boundaries
Simplified compliance (COPPA/GDPR)
Enhanced failure isolation