How caiovpinheiro/frontend_crm1 works
CRM EduIT is a frontend for sales and customer-service teams; its REST API and persistence run in a separate backend. Users enter through the authenticated app, work across pipeline, inbox, automation, campaign, and AI-agent screens, and receive CRM results from the backend. The automation editor also supports flow authoring and local simulation. The README documents the frontend/backend boundary and editor capabilities; sampled source confirms pipeline search/realtime and simulation internals. Other product areas are represented from the route tree, without asserting unsampled call relationships.
Main entry points: api.ts Backend API client · client-page.tsx Automation editor · kanban-board.tsx Sales pipeline · flow-sim-engine.ts Flow simulator
Components 21
Access and shell
- Sign-in
src/app/(auth)/login/client-page.tsx - App shell
src/app/(app)/layout.tsx - CRM settings
src/app/(app)/settings/client-page.tsx
CRM workspaces
- Sales pipeline
src/components/pipeline/kanban-board.tsx - Pipeline search
src/features/pipeline-v2/use-pipeline-omnisearch.ts - Pipeline realtime
src/features/pipeline-v2/hooks/use-pipeline-realtime.ts - Conversations inbox
src/app/(app)/inbox/_v2-client.tsx - Contacts and companies
src/app/(app)/contacts/[id]/client-page.tsx - Activities
src/app/(app)/activities/client-page.tsx - Analytics
src/app/(app)/analytics/client-page.tsx
Customer engagement
- Automation editor
src/app/(app)/automations/[id]/client-page.tsx - Flow canvas components
src/components/automations/flow-editor.tsx - Flow simulator
src/lib/flow-sim-engine.ts - Workflow model
src/lib/automation-workflow.ts - Step adapter
src/lib/flow-step-adapter.ts - Campaigns
src/app/(app)/campaigns/client-page.tsx - AI agents
src/app/(app)/ai-agents-v2/[id]/client-page.tsx
Shared frontend services
- Backend API client
src/lib/api.ts - SSE hook
src/hooks/use-sse.ts
Other components
- CRM user
- Separate CRM backend
Connections 21
- CRM user → Sign-in: signs in
README.md - CRM user → App shell: uses CRM
README.md - App shell → Sales pipeline: opens workspace
- Sales pipeline → Pipeline search: searches deals
- Sales pipeline → Pipeline realtime: refreshes board
- Pipeline search → Backend API client: fetches deals
src/features/pipeline-v2/use-pipeline-omnisearch.ts - Pipeline realtime → SSE hook: subscribes events
src/features/pipeline-v2/hooks/use-pipeline-realtime.ts - Automation editor → Flow canvas components: renders canvas
- Automation editor → Separate CRM backend: loads and saves flows
README.md - Automation editor → Flow simulator: simulates flow
- Flow simulator → Workflow model: uses step labels
src/lib/flow-sim-engine.ts - Flow simulator → Step adapter: resolves step types
src/lib/flow-sim-engine.ts - Backend API client → Separate CRM backend: sends HTTP requests
README.md - SSE hook → Separate CRM backend: receives events
README.md - Conversations inbox → Backend API client: uses API
- Contacts and companies → Backend API client: uses API
- Activities → Backend API client: uses API
- Analytics → Backend API client: uses API
- Campaigns → Backend API client: uses API
- AI agents → Backend API client: uses API
- CRM settings → Backend API client: uses API