NDASouqiyah – Multi-Tenant E-Commerce SaaS
A multi-tenant SaaS e-commerce platform with domain-resolved white-label storefronts, multi-channel order ingestion and AI-powered bilingual product generation.
- NestJS
- Next.js 15
- MongoDB
- BullMQ
ContentTab is a headless CMS platform delivered as a monorepo of three independent applications: a NestJS 10 modular monolith backend, a Next.js 14 App Router admin dashboard, and a Next.js 15 marketing site.
Built under NDA — client data and source code remain confidential, so details are intentionally limited.

Organizations managing multilingual content at scale face a convergence of hard problems: rigid CMS schemas that resist extension, fragmented authorization models across teams, unreliable AI integrations that silently fail mid-stream, and zero visibility into API consumption. Existing solutions force a tradeoff between rigid monolithic tools or disjointed glue code.
We architected and built ContentTab — a NestJS 10 modular monolith backend exposing 20+ feature modules across 30+ route prefixes backed by MongoDB (24 Mongoose schemas). It features dual-authentication (JWT + API key/secrets), workspace-scoped embedded RBAC, and a provider-agnostic AI streaming pipeline with atomic credit reservations.
Engineered with clean code, scalable architecture and strict attention to performance.
Provider-agnostic AI layer (HuggingFace Inference) supporting 5 operations with real-time SSE streaming, 4 fallback LLM parsers, and atomic credit reservation using MongoDB $inc.
Roles and members are embedded directly in Workspace documents to eliminate N+1 queries. Hierarchical permissions (delete → write → read) across 13 resources.
Glass-morphism floating AI prompt box over EditorJS with selection persistence (CSS Custom Highlight API + DOM injection) for cross-block replacements.
Extensible custom fields (`cs[]` array) without database migrations, coupled with full audit-safe content versioning, split-pane diff comparisons, and backup restores.
Dual auth (JWT + API key/secret pairs) with Redis sliding-window rate limiting, full request logging, and observable programmatic API access.
Isolated workspaces with invitation lifecycle management, seeded system roles, and full frontend ACL mirroring (<Can> component, usePermission hook).
ContentTab provided enterprise teams with schema-agnostic content management and fail-safe streaming AI generation.
