Drop Zone QR Service Architecture - Wiz-DevTech/prettygirllz GitHub Wiki

graph TD subgraph "Client Applications" MobileApp[Mobile App] WebApp[Web Portal] end

subgraph "API Gateway"
    Gateway[API Gateway]
end

subgraph "user-service"
    UserAuth[Authentication]
    UserProfiles[Profile Management]
    UserRoles[Role Management]
    AvatarManager[Avatar Management]
end

subgraph "product-service"
    CandyProducts[Candy Products]
    FashionProducts[Fashion Items]
    ReviewSystem[Review System]
    AvatarTryOn[Avatar Try-On]
end

subgraph "delivery-service"
    DropZones[Drop Zone Management]
    QRSystem[QR Code System]
    HomeDelivery[Home Delivery]
    LocationTracking[Location Tracking]
end

subgraph "chat-service"
    ProductChat[Product Chat]
    SocialFeed[Social Feed]
    MediaSharing[Media Sharing]
end

subgraph "web-ui"
    UIComponents[UI Components]
    ResponsiveLayout[Responsive Layout]
    CheckoutFlow[Checkout Flow]
end

subgraph "External Services"
    GoogleMaps[Google Maps API]
    Cloudinary[Cloudinary]
    ZXing[ZXing Library]
end

subgraph "Data Storage"
    Users[(Users Collection)]
    Products[(Products Collection)]
    DropZonesDB[(Drop Zones Collection)]
    Chats[(Chats Collection)]
end

MobileApp -->|Requests| Gateway
WebApp -->|Requests| Gateway

Gateway -->|Auth| UserAuth
Gateway -->|Products| CandyProducts
Gateway -->|Products| FashionProducts
Gateway -->|Delivery| DropZones
Gateway -->|Chat| ProductChat
Gateway -->|UI| UIComponents

UserProfiles -->|Avatar| AvatarManager
AvatarManager -->|Try-On| AvatarTryOn

DropZones -->|Generate| QRSystem
QRSystem -->|Uses| ZXing

ProductChat -->|Posts| SocialFeed
SocialFeed -->|Uploads| MediaSharing
MediaSharing -->|Uses| Cloudinary

LocationTracking -->|Uses| GoogleMaps
DropZones -->|Uses| GoogleMaps

UserAuth -->|Store| Users
CandyProducts -->|Store| Products
FashionProducts -->|Store| Products
DropZones -->|Store| DropZonesDB
ProductChat -->|Store| Chats
SocialFeed -->|Store| Chats

style UserAuth fill:#f9f,stroke:#333,stroke-width:2px
style CandyProducts fill:#bbf,stroke:#333,stroke-width:2px
style DropZones fill:#bfb,stroke:#333,stroke-width:2px
style ProductChat fill:#ffc,stroke:#333,stroke-width:2px
style UIComponents fill:#cff,stroke:#333,stroke-width:2px