GZ

Global Zanrefsi — System Architecture

Domain models · Flows · Microservices · Events · Infrastructure

Global Zanrefsi is a multi-domain SaaS marketplace platform built on Base44. It spans six major product domains: a Services Marketplace (video sessions, professional bookings), a Digital Products Store, SaaS App Directory, Dropshipping, CRM, and a full Double-Entry Accounting / Financial Close engine — all sharing a common identity layer, Stripe payments, and an AI-driven AMO intelligence layer.

Frontend — React + Tailwind (Vite)

  • 100+ pages across marketplace, vendor, admin, CRM, and content domains
  • Shared Layout with global nav, notifications, language switcher, AI chat widget
  • React Query for server state · React Router v6 · shadcn/ui component library
  • Framer Motion animations · Recharts data visualization · react-leaflet maps

Authentication & Identity

  • Base44 AuthProvider (JWT-based)
  • Roles: admin | user (extensible)
  • Protected routes via AuthContext
  • Public pages supported — no forced login

Base44 Backend-as-a-Service

  • Entity CRUD with RLS
  • Deno Deploy backend functions
  • Built-in integrations (LLM, Email, Image Gen)
  • Real-time subscriptions via SDK

External Integrations

  • Stripe (Live) — checkout, subscriptions, Connect payouts
  • WebRTC STUN (Google) — P2P video
  • Core.SendEmail — transactional email
  • Core.InvokeLLM — AI features

Product Domains

Six independently scoped domains sharing shared identity & payments

Services Marketplace

Professional booking, WebRTC video sessions, reviews, disputes

Digital Store

Products, bundles, coupons, downloads, affiliate tracking

App Directory

SaaS app listings, subscriptions, in-app purchases, reviews

Dropshipping

Supplier feeds, API connections, pricing rules, order forwarding

CRM

Contacts, deals, projects, invoices, time tracking, site reports

Finance & GL

Double-entry ledger, P&L, fiscal close, Stripe reconciliation