E-Commerce

Souqiyah – Multi-Tenant E-Commerce SaaS Platform

Souqiyah is a modular-monolith multi-tenant SaaS e-commerce platform composed of four decoupled applications sharing a single NestJS API backend. It allows merchants in the GCC region to launch domain-resolved, white-label online stores with customizable themes, multi-channel order ingestion, and AI content generation.

Role

Lead Full Stack

Timeline

4–8 Weeks

Architecture

Next.js & APIs

Technologies Used
NestJSNext.js 15MongoDBBullMQ
https://souqiyah.preview.shipwithsohaib.com
● Live
Souqiyah – Multi-Tenant E-Commerce SaaS Platform
Key Project Metrics & Achievements
90%Reduction in merchant time-to-market
5Unified order ingestion channels
27A/B-testable storefront variants

The Challenge

Merchants in the GCC region needed a turnkey e-commerce platform to launch white-label online stores with zero infrastructure overhead — each with its own domain, theme, product catalog, payment gateways, and order lifecycle. Existing solutions forced a choice between rigid template platforms with no customization or fully custom builds with prohibitive costs and long development timelines.

The Solution

We architected and built Souqiyah, a multi-tenant platform composed of four decoupled apps sharing a single NestJS API backend (55+ Mongoose schemas, 65+ REST controllers, 3 WebSocket gateways, BullMQ queues): a Next.js 14 Merchant Dashboard, Next.js 15 DNS-resolved storefront engine, Next.js 14 Super Admin panel, and a headless V2 Storefront API.

ENGINEERING EXCELLENCE

Key Features Delivered

Engineered from scratch with clean code, scalable architecture, and strict attention to performance.

Multi-Tenant RBAC & Domain Resolution

32 permission resources with per-resource granularity embedded in Account models. Subdomain DNS resolution isolates merchant store data, RBAC, and custom configurations.

Multi-Source Order Ingestion

Unified orders across 5 channels (native, Shopify, WooCommerce, EasyOrders, LightFunnels) via webhooks and BullMQ workers into a 10-status order state machine.

Append-Only Inventory Ledger

Tracks every stock movement across multi-location warehouses, preventing out-of-stock race conditions across all connected sales channels.

AI Product Content Generation

Multi-provider factory (OpenAI, Ollama, Vercel AI) with streaming SSE generating structured bilingual Arabic/English titles, descriptions, SEO, tags, and pricing.

Theme Engine & Section Composition

Declarative JSON page composition with pluggable SectionRegistry, 3 complete themes, and 27 product page variants for instant A/B testing.

Super Admin Control Panel

Platform-wide management interface for cross-tenant catalog oversight, merchant approval workflows, billing, and operational health metrics.

MEASURABLE OUTCOMES

The Business Impact

Souqiyah empowered GCC merchants to go from concept to live, domain-resolved online store in minutes, eliminating cross-platform sync headaches and automating bilingual product catalog setup.

Reduced merchant time-to-market by 90% via turnkey white-label store deployments
Eliminated out-of-stock race conditions across 5 integrated sales channels
Automated product listing creation from hours to seconds with bilingual Arabic/English AI generation
Enabled data-driven A/B testing across 27 storefront product page variants without code changes
Souqiyah – Multi-Tenant E-Commerce SaaS Platform impact screenshot
LET'S WORK TOGETHER

Have a project in mind?
I'd love to hear about it.

Let's Talk
Quick Message⚡ 24h Response