Skip to main content

How Brandzy Works

Brandzy is built on a modern, cloud-native architecture designed for reliability, security, and scale.

Architecture Diagram

Core Components

1. The Dashboard (Frontend)

Built with Next.js 15.5 and React 19, our modern dashboard provides a fast, responsive experience on desktop and mobile. Features real-time WebSocket connections, Tailwind CSS styling, and seamless authentication integration.

2. The Backend API (Brain)

Our Express.js backend with TypeScript handles all business logic, ensuring multi-tenant data isolation through Row-Level Security (RLS). It orchestrates video generation, social media publishing, billing, and analytics.

3. AI Video Pipeline (Factory)

Background workers powered by BullMQ and Redis operate 24/7 to process video generation requests. The pipeline integrates with Runware SDK for AI generation, performs brand overlay processing, and handles quality enhancement.

4. Data & Authentication (Vault)

Supabase provides secure authentication, PostgreSQL database with RLS, and file storage. Your photos and generated videos are stored in Cloudflare R2 with redundant backup for reliability and accessibility.

5. Social Integration (Publisher)

Composio provides secure OAuth integration with Instagram, enabling automated publishing with proper token management, scheduling optimization, and performance tracking.

6. Business Operations (Billing)

Stripe integration handles the credit-based token economy, subscription management, and payment processing with comprehensive usage analytics and reporting.