Skip to content

Tech Stack

Overview of technologies used in MediaMagic CRM.

Core Technologies

Component Details

EspoCRM

AspectTechnology
BackendPHP 8.2
FrontendBackbone.js, Handlebars
DatabaseMySQL 8.0
APIREST API

Why EspoCRM?

  • Open-source and self-hosted
  • Highly customizable entities
  • Built-in workflow automation
  • Kanban boards and list views
  • API-first architecture

Bridge API

AspectTechnology
RuntimeNode.js 20
FrameworkExpress.js
DatabasePostgreSQL (pg)
HTTP ClientAxios

Key Dependencies:

json
{
  "express": "^4.18.x",
  "pg": "^8.11.x",
  "axios": "^1.6.x",
  "node-cron": "^3.0.x"
}

PostgreSQL

AspectDetails
Version16
Use CaseTime-series analytics
Tables4 main tables

Schema Overview:

sql
-- social_metrics: Daily platform metrics
-- post_performance: Per-post analytics
-- platform_followers: Follower history
-- content_metrics: Video/podcast stats

Grafana

AspectDetails
Version11
Data SourcePostgreSQL
Dashboards2 pre-built

Features Used:

  • Time series panels
  • Stat panels
  • Table panels
  • Variables for filtering

Docker

ComponentPurpose
DockerContainer runtime
Docker ComposeMulti-container orchestration
VolumesPersistent data storage
NetworksService communication

External Services

Ayrshare

  • Purpose: Social media scheduling and analytics
  • Platforms: X, Facebook, Instagram, LinkedIn, YouTube, TikTok
  • Features: Post scheduling, analytics API, history

X Server

  • Purpose: Platform automation via browser
  • Technology: Playwright (Node.js)
  • Platforms: Rumble, YouTube, Boxcast, Brighteon, Odysee, etc.
  • Capabilities: Livestream creation, video uploads

n8n

  • Purpose: Workflow automation
  • Technology: Node.js
  • Use Cases: Notifications, email, integrations
  • Trigger: Webhook-based

Claude API (Anthropic)

  • Purpose: AI analysis
  • Use Cases: Clip suggestions, transcript analysis
  • Model: Claude 3.5 Sonnet

Deepgram / AssemblyAI

  • Purpose: Audio/video transcription
  • Features: Speaker diarization, timestamps
  • Use Case: Video editor transcript

Bunny.net

  • Purpose: CDN and storage
  • Features: Edge storage, video delivery
  • Use Case: Media file hosting

Version Requirements

ComponentMinimumRecommended
Docker20.0Latest
Docker Compose2.0Latest
Node.js1820 LTS
PHP8.18.2
MySQL8.08.0
PostgreSQL1416

Development Tools

ToolPurpose
VS CodeIDE
Docker DesktopLocal containers
Postman/InsomniaAPI testing
pgAdminPostgreSQL GUI
MySQL WorkbenchMySQL GUI

MediaMagic CRM Documentation