Skip to main content

System Overview

UniPulse is a full-stack social media management platform built as a Turborepo monorepo. It consists of two independent applications: Pulse (the main product) and the Control Center (internal ops dashboard).


High-Level Architecture


Tech Stack Summary

LayerTechnologyVersion
FrontendReact, Vite, TypeScript, Tailwind CSS, shadcn/ui + Radix UI19, 7, 5.9, v4
State ManagementZustand (client), TanStack Query (server)5, 5
RoutingReact Router7
ChartsRecharts, @xyflow/react (workflow builder)-
Icons & FontLucide React, Alexandria-
i18nreact-i18next (EN + AR with RTL)-
BackendNode.js, Express, TypeScript-, 4, 5.9
ORMPrisma6
DatabasePostgreSQL (alpine)16
QueueBullMQ + Redis (alpine)-, 7
AI ModelGoogle Gemini 2.5 Flash-
AI Embeddingstext-embedding-004-
AuthPassport.js + JWT (access + refresh tokens)-
ValidationZod (shared between FE and BE)-
MonorepoTurborepo + npm workspaces-
Control Center DBSQLite + Prisma (7 models)-
Process ManagerPM2 (Control Center only)-
Real-timeSocket.IO (Control Center)-

Platform Capabilities at a Glance

DomainKey Features
ContentMulti-platform composer, scheduling, drafts, content calendar, repurposing
AICaption generation, rewriting, hashtags, CTA, translation, image generation, chat, suggestions
AnalyticsDashboard, time-series, per-post metrics, A/B testing, predictions, benchmarks
ConversationsUnified inbox, AI auto-reply (ICE engine), bot config, escalation rules, experiments
E-CommerceShopify/WooCommerce/EasyOrders sync, product templates, revenue attribution, coupons
AdsMeta Ads, TikTok Promote, auto-boost rules, ad sync
WorkflowsVisual builder with triggers, conditions, and actions; test runs
AudienceGraph-based profiles, segmentation, tagging, interaction tracking
IntelligenceCompetitor scanning, benchmarks, algorithm change detection, gap analysis
AgencyApproval workflows, client reports, workspace profiles
BillingPlans, subscriptions, Stripe/Paymob, feature flags, usage quotas
AdminSuper admin dashboard, user management, AI usage monitoring, audit logs

Key Numbers

MetricCount
Prisma models (Pulse)69+
Backend services57
API route modules39
BullMQ queues27
Frontend pages58+
Shared type files29
Shared Zod validators29
Control Center models7
Supported languages2 (EN, AR)

Application Boundaries

  • Pulse is the customer-facing product. All social media management, AI, analytics, e-commerce, and billing functionality lives here.
  • Control Center is the internal DevOps dashboard. It monitors Pulse infrastructure, manages Docker containers, tracks GitHub PRs/CI, and provides a task board.
Cross-Reference