Skip to content

YeboShops Architecture Overview

Formerly known as Vavu — A TikTok-style classifieds marketplace with AI-powered product processing and secure escrow payments.

System Architecture

┌─────────────────────────────────────────────────────────────────┐
│                        YeboShops Platform                        │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────┐      │
│  │   Frontend   │    │     API      │    │   Services   │      │
│  │   (React)    │◄──►│   (Express)  │◄──►│  (Business)  │      │
│  └──────────────┘    └──────────────┘    └──────────────┘      │
│         │                   │                    │               │
│         ▼                   ▼                    ▼               │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────┐      │
│  │  TikTok-style│    │  Middleware  │    │  AI Services │      │
│  │   Browser    │    │ (Auth, Rate) │    │   (Gemini)   │      │
│  └──────────────┘    └──────────────┘    └──────────────┘      │
│                              │                    │               │
│                              ▼                    ▼               │
│                       ┌──────────────────────────────┐          │
│                       │     PostgreSQL + pgvector    │          │
│                       │        (14 Models)           │          │
│                       └──────────────────────────────┘          │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Technology Stack

LayerTechnologyPurpose
FrontendReact + TypeScriptTikTok-style product browser
APIExpress.js + TypeScriptRESTful API server
DatabasePostgreSQL + PrismaData persistence with ORM
Vector Searchpgvector + Voyage AISemantic product search
AI ProcessingGoogle GeminiProduct analysis & categorization
PaymentsInternal Wallet + EscrowSecure P2P transactions
HostingGoogle Cloud RunAuto-scaling containers

Core Features

🛒 Marketplace Features

  • Shop Management — Create and manage shops with custom branding
  • Product Listings — AI-powered product creation with auto-categorization
  • TikTok-Style Browsing — Vertical swipe interface for product discovery
  • Multi-Currency — Country-specific currency support

💰 Payment System

  • Wallet System — User wallets with confirmed/unconfirmed balances
  • Secure Payments — Escrow-based transactions with completion codes
  • Dispute Resolution — Built-in dispute handling workflow

🤖 AI Capabilities

  • Gemini AI Processing — Automatic product analysis from images
  • Vector Search — Semantic search using Voyage AI embeddings
  • Natural Language Search — Conversational product discovery

💬 Communication

  • Real-time Chat — Buyer-seller messaging with product context
  • Notifications — Push notifications for orders, chats, payments
  • Shop Following — Follow shops for updates

Key Metrics

MetricDescription
14 Core ModelsPrisma schema with full relational integrity
30+ API RoutesRESTful endpoints for all features
512-dim VectorsProduct embeddings for semantic search
6 Payment StatesComplete escrow lifecycle management

One chat. Everything done.