Skip to content

πŸ‚ BullAPI β€” High-throughput WhatsApp CRM & Automation Engine for high-volume media buyers. Engineered with NestJS, BullMQ, and AES-256 encryption for mission-critical scalability and 99.9% uptime in paid traffic environments.

Notifications You must be signed in to change notification settings

Digao075/bullapi-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

BullAPI β€” High-Throughput WhatsApp CRM Engine

BullAPI is an enterprise-grade B2B SaaS platform engineered for high-volume media buyers and automated sales teams. By leveraging the official Meta Cloud API (WABA), the system eliminates the "Shadowban" risk associated with traditional web-automation tools, providing a stable backbone for $10k+/day ad-spend operations.

⚑ Engineering Highlights

  • Scalable Event-Driven Core: Optimized to handle 100k+ concurrent webhook events via a Redis-backed distributed queue.

  • Mission-Critical Reliability: Built to prevent lead leakage during high-traffic spikes (e.g., Black Friday) using an asynchronous worker architecture.

  • Privacy-First Architecture: Native AES-256 encryption for message-at-rest data and rigorous Multi-tenant isolation (Row-Level Security concept).

  • Crypto-Economy Ready: Integrated USDT/BTC payment rails for frictionless global B2B settlement.

πŸ— System Architecture & Design Patterns

The engine is designed around decoupling and resiliency:

  • Ingestion Layer: Fast-response Webhook listeners (NestJS) receive Meta events and immediately offload them to Redis. This ensures a <50ms response time to Meta, preventing webhook timeouts.

  • Concurrency Management: BullMQ workers process the ingestion queue with built-in retry logic and exponential backoff, ensuring zero data loss even if downstream services (PostgreSQL) are under load.

  • Real-Time Sync: A Socket.io gateway handles bi-directional state synchronization between the backend and the Next.js frontend, utilizing namespaces for secure tenant isolation.

  • Extensibility (Webhook-as-a-Service): A custom egress engine triggers outbound payloads to n8n or Zapier, allowing users to build complex, low-code automation on top of our API.

πŸš€ Key Business Features

  • Official WABA Integration: 100% compliance with Meta TOS. Zero-risk of "QR Code" bans.

  • Dynamic Kanban CRM: High-performance drag-and-drop pipeline management for massive lead flows.

  • Granular ACL (Access Control): Plan-based feature gating and role-based permissions (Owner, Manager, Agent).

  • Automation Engine: Internal keyword-based routing + external webhook triggers for full-funnel automation.

πŸ” Security & Compliance

  • Tenant Isolation: Strict logic-level enforcement of Workspace IDs across all queries.

  • Token-Based Auth: Secure JWT implementation with Passport.js and Bcrypt password hashing.

  • Data Integrity: Transactional updates via Prisma to ensure consistent state across lead pipelines.

πŸ“ˆ Proof of Concept & Performance

  • Note: This repository is a private commercial product. For technical verification, please contact me for a private architecture review.

  • Peak Load Handling: Successfully stress-tested at 35,000 requests per minute.

  • Uptime: Achieved 99.9% reliability during pilot "Whale" campaigns.

About

πŸ‚ BullAPI β€” High-throughput WhatsApp CRM & Automation Engine for high-volume media buyers. Engineered with NestJS, BullMQ, and AES-256 encryption for mission-critical scalability and 99.9% uptime in paid traffic environments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published