Skip to content

crm-api

Status: Current | Last reviewed: 2026-06-16

The Backend-For-Frontend for crm-dashboard. Owns thread persistence, widget binding, and agent invocation.

Source

apps/crm-api when restored from a dev snapshot. The source tree is gitignored legacy demo code, so a fresh clone may not include it.

Runtime

Aspect Value
Language TypeScript (Node)
Port 8100 in Vanguard local dev

What it does

  • CRUD for CRM threads, messages, and pinned widgets.
  • Resolves widget data from CRM data sources (mock or real).
  • Calls ai-orchestrator (chat) on user message.

Dependencies

Service Purpose
Postgres Threads, messages, widgets
Redis Short-lived widget cache
ai-orchestrator Chat agent runtime

Vanguard

overmind restart crm-api

If apps/crm-api is absent, the local Overmind launcher idles instead of failing. Restore it from a dev snapshot only for environments that still need the legacy CRM demo.

Production

Helm chart at charts/crm-api.

See also