Skip to content

Platform Technical Map

Internal view of all products — which repos, domains, databases, and services power each product.

Products — Technical Details

graph TB
    subgraph "Cloudflare"
        CF_DNS["DNS\nwearfits.com\n+ all subdomains"]
        CF_API["Workers\napi.wearfits.com"]
        CF_TRYON_APP["Workers\ntryon.wearfits.com"]
        CF_WEB["Workers\nwearfits.com"]
        CF_OTHER["Workers\nother micro-services"]
    end

    subgraph "Google Cloud Platform"
        GAE["App Engine (Flex)\nnodejs-server\ndev.wearfits.com"]
        GCS["Cloud Storage\n3D objects, textures,\nconfigs"]
    end

    subgraph "Vercel"
        V_SAAS["saas\ndash.wearfits.com"]
        V_SHOP["shopify-wearfits\ntryon-shop.wearfits.com"]
        DB_SAAS[("Prisma DB\nusers, plans,\npayments")]
        DB_SHOP[("Prisma DB\nshops, products,\njobs")]
    end

    subgraph "Modal.com"
        M_CPU["CPU App\nPython endpoints"]
        M_GPU["GPU App\nML inference"]
    end

    subgraph "External"
        STRIPE["Stripe\nPayments"]
        SHOPIFY["Shopify\nPlatform"]
        HUBSPOT["HubSpot\nCRM"]
    end

    CF_DNS --> CF_API & CF_TRYON_APP & CF_WEB & GAE & V_SAAS & V_SHOP
    CF_API --> M_CPU --> M_GPU
    M_GPU --> GCS
    GAE --> GCS
    V_SAAS --> DB_SAAS --> STRIPE
    V_SHOP --> DB_SHOP --> SHOPIFY
    V_SHOP --> CF_API
    CF_WEB --> HUBSPOT

👟 Shoes & Bags AR Try-On

Repo WEARFITS/nodejs-server
Domain dev.wearfits.com
Hosted on GCP App Engine (Flexible)
Storage GCP Cloud Storage (3D objects GLB, textures, configs, positioning data)
Database None (stateless, data in GCP Storage)
Try-on viewer dev.wearfits.com/tryon
Management UI dev.wearfits.com
REST API dev.wearfits.com/api/*
Features Mobile AR, desktop viewer, mirror mode, Tron Editor, auto-positioning (shoes), texture editing
Legacy dev.wearfits.com/demo* — old apparel 3D try-on and size fitting (documented in WEARFITS/docs)

📸 2D to 3D Generator

Repo WEARFITS/wearfits-genai-api
Domain api.wearfits.com (endpoint: shoe3d)
Hosted on Cloudflare Workers (gateway) → Modal.com (CPU + GPU apps, Python)
Storage Generated 3D models → GCP Cloud Storage
Database None (stateless)
Sandbox frontend tryon.wearfits.com/shoes (served from wearfits-genai-app on Cloudflare Workers)
Flow 2D photos → Modal GPU (ML inference) → 3D model (GLB) → GCP Storage → try-on link (dev.wearfits.com/tryon)

👗 Clothing AI Try-On

Repos WEARFITS/wearfits-genai-api (API), WEARFITS/wearfits-genai-app (frontend)
Domains api.wearfits.com (endpoints: digital-twin, virtual-fitting), tryon.wearfits.com (frontend)
API hosted on Cloudflare Workers → Modal.com (CPU + GPU, Python)
Frontend hosted on Cloudflare Workers
Database None (stateless)
New feature Size fitting visualization (not fully public yet)
Integration Clients embed tryon.wearfits.com in iframe/modal, or call API directly

Note: wearfits-genai-api serves both 2D to 3D Generator AND Clothing AI Try-On. On Modal.com there are 2 apps: one CPU (lightweight endpoints) and one GPU (ML inference).


📊 Dashboard

Repo WEARFITS/saas
Domain dash.wearfits.com
Hosted on Vercel
Database Prisma (via Vercel) — users, API keys, plans, payments, usage tracking
Auth Magic link only (email, no passwords, no OAuth)
Payments Stripe (subscriptions, invoices)
Provides API keys used by all other WEARFITS products

🔌 Shopify Shoes Try-On App

Repo WEARFITS/shopify-wearfits
Domain tryon-shop.wearfits.com (Shopify communicates with this)
Hosted on Vercel
Database Prisma (via Vercel) — shops, products, images, processing jobs, wizard state, sessions
Auth Shopify OAuth (native)
Billing Shopify Managed Pricing (bronze/silver/gold plans)
Depends on api.wearfits.com (shoe3d) for 3D generation, dev.wearfits.com (/tryon) for AR try-on
sequenceDiagram
    participant Merchant as Shopify Merchant
    participant Shop as tryon-shop.wearfits.com<br/>(Vercel)
    participant DB as Prisma DB<br/>(Vercel)
    participant API as api.wearfits.com<br/>(CF Workers → Modal)
    participant GCS as GCP Storage
    participant TryOn as dev.wearfits.com<br/>(GCP App Engine)

    Merchant->>Shop: Install app
    Shop->>DB: Create shop, session
    Shop->>Merchant: Onboarding wizard
    Merchant->>Shop: Select shoe categories
    Shop->>API: POST /shoe3d (product photos)
    API->>GCS: Store generated 3D models
    API-->>Shop: 3D model URLs
    Shop->>DB: Update product status
    Shop->>TryOn: Products available for try-on
    Note over Merchant: Shoppers see "Try On" button<br/>→ AR via dev.wearfits.com/tryon

🌐 Website & Marketing

Repos website2026, wearfits-marketing, hubspot-api
Domain wearfits.com
Hosted on Cloudflare Workers (all three)
Database None
Integrations HubSpot CRM (contact forms from hubspot-api)
Note Users browse the website but there are no interactive product features here — just marketing/info pages and landing pages

Domain Routing

All DNS managed in Cloudflare.

Domain Points to Repo Product
dev.wearfits.com GCP App Engine nodejs-server Shoes & Bags AR Try-On + Legacy
api.wearfits.com Cloudflare Workers → Modal wearfits-genai-api 2D to 3D Generator + Clothing AI Try-On
tryon.wearfits.com Cloudflare Workers wearfits-genai-app Clothing AI Try-On frontend + shoe sandbox
dash.wearfits.com Vercel saas Dashboard
tryon-shop.wearfits.com Vercel shopify-wearfits Shopify Shoes Try-On App
wearfits.com Cloudflare Workers website2026 + wearfits-marketing Website

API Endpoint Map

Domain Endpoint Product Description
api.wearfits.com POST /shoe3d 2D to 3D Generator Convert 2D photos to 3D model
api.wearfits.com POST /digital-twin Clothing AI Try-On Generate digital twin image
api.wearfits.com POST /virtual-fitting Clothing AI Try-On Apply clothing to digital twin
dev.wearfits.com /tryon Shoes & Bags AR Try-On AR try-on viewer
dev.wearfits.com /api/* Shoes & Bags AR Try-On Product management REST API
dash.wearfits.com /api/* Dashboard Account, API keys, billing

Internal-only Repositories

Not user-facing — to be documented separately:

Repo Purpose
genai-hifi High-fidelity GenAI models
wearfits-splat 3D Gaussian splatting experiments
wearfits-pi3 Pi3 model experiments
ml_train ML model training pipelines
gaussian-shoes Gaussian shoe model research
yolov8, yolo12_tools YOLO model customization
onnx, onnx-coreml-2025 Model format conversion
web-tryon Legacy web try-on
avatar-creator-module Avatar creation module
wearfits-genai-parp GenAI PARP project
wearfits-seo SEO landing pages (5 domains)
tests Test suites
wearfits-monitoring Weekly monitoring + KB tooling
website2024 Previous website (superseded)