How chinmaye5/converso works
Converso is a workspace-based customer-support chatbot product: operators configure a chatbot and knowledge base, visitors chat with it or request human help, and operators review conversations and tickets. The backend serves authenticated workspace operations and public chat, while the frontend provides operator screens and a public chat page. The README is empty, so the map relies on the file tree and sampled source; unsampled screens and integrations are shown only where their existence is clear, with unverified links omitted or dashed.
Main entry points: server.ts Express API server · index.ts PostgreSQL data access · document.controller.ts Document ingestion · chat.controller.ts Authenticated chat handling
Components 34
Web experience
- Landing page
frontend/components/landing/LandingPage.tsx - Landing visual
frontend/components/Grainient.tsx - Authenticated app shell
frontend/components/layout/AppShell.tsx - Workspace selection
frontend/lib/workspace-context.tsx - API client
frontend/lib/api.ts - Public chat page
frontend/app/chat/[chatbotId]/page.tsx - Workspace dashboard
frontend/components/dashboard/DashboardOverview.tsx - Conversation history
frontend/components/conversations/ConversationsHistoryView.tsx - Operator feature views
frontend/components - Shared UI primitives
frontend/components/ui
Workspace operations
- Express API server
backend/server.ts - Workspace routes
backend/routes/workspace.route.ts - Workspace management
backend/controllers/workspace.controller.ts - Chatbot routes
backend/routes/chatbot.routes.ts - Chatbot configuration
backend/controllers/chatbot.controller.ts
Chat and support
- Authenticated chat routes
backend/routes/chat.route.ts - Authenticated chat handling
backend/controllers/chat.controller.ts - Public chat routes
backend/routes/public-chat.route.ts - Public chat handling
backend/controllers/public-chat.controller.ts - Answer generation
backend/ai/chat.graph.ts - Human handoff detection
backend/ai/handoff.utils.ts - Ticket routes
backend/routes/ticket.route.ts - Ticket management
backend/controllers/ticket.controller.ts
Knowledge retrieval
- Document ingestion
backend/controllers/document.controller.ts - PDF text processing
backend/utils/pdf.utils.ts - Embedding generation
backend/utils/embedding.utils.ts - Knowledge search route
backend/routes/search.route.ts - Semantic search
backend/utils/search.utils.ts
Persistence
- PostgreSQL data access
backend/db/index.ts - Product data model
backend/db/schema.ts
Other components
- Workspace operator
- Chat visitor
- Supabase file storage
backend/db/supabase.ts - Jina embeddings API
Connections 42
- Express API server → Workspace routes: mounts routes
backend/server.ts - Express API server → Chatbot routes: mounts routes
backend/server.ts - Express API server → Authenticated chat routes: mounts routes
backend/server.ts - Express API server → Public chat routes: mounts routes
backend/server.ts - Express API server → Ticket routes: mounts routes
backend/server.ts - Express API server → Knowledge search route: mounts routes
backend/server.ts - Express API server → Document ingestion: mounts document routes
backend/server.ts - Chatbot routes → Chatbot configuration: dispatches requests
backend/routes/chatbot.routes.ts - Workspace routes → Workspace management: dispatches requests
backend/routes/workspace.route.ts - Authenticated chat routes → Authenticated chat handling: dispatches requests
backend/routes/chat.route.ts - Public chat routes → Public chat handling: dispatches requests
backend/routes/public-chat.route.ts - Ticket routes → Ticket management: dispatches requests
backend/routes/ticket.route.ts - Authenticated chat handling → Answer generation: generates answers
backend/controllers/chat.controller.ts - Public chat handling → Answer generation: generates answers
backend/controllers/public-chat.controller.ts - Authenticated chat handling → Human handoff detection: checks handoff
backend/controllers/chat.controller.ts - Public chat handling → Human handoff detection: checks handoff
backend/controllers/public-chat.controller.ts - Answer generation → Semantic search: retrieves context
backend/ai/chat.graph.ts - Knowledge search route → Semantic search: runs search
backend/routes/search.route.ts - Document ingestion → PDF text processing: extracts and chunks
backend/controllers/document.controller.ts - Document ingestion → Embedding generation: embeds chunks
backend/controllers/document.controller.ts - Embedding generation → Jina embeddings API: requests vectors
backend/utils/embedding.utils.ts - Document ingestion → Supabase file storage: stores PDF files
backend/controllers/document.controller.ts - Semantic search → Embedding generation: embeds query
backend/utils/search.utils.ts - Document ingestion → PostgreSQL data access: stores documents
backend/controllers/document.controller.ts - Authenticated chat handling → PostgreSQL data access: reads and writes chats
backend/controllers/chat.controller.ts - Public chat handling → PostgreSQL data access: reads and writes chats
backend/controllers/public-chat.controller.ts - Chatbot configuration → PostgreSQL data access: manages chatbot records
backend/controllers/chatbot.controller.ts - Ticket management → PostgreSQL data access: manages tickets
backend/controllers/ticket.controller.ts - Semantic search → PostgreSQL data access: queries stored chunks
backend/utils/search.utils.ts - PostgreSQL data access → Product data model: uses schema
backend/db/index.ts - Workspace operator → Landing page: visits product site
- Landing page → Landing visual: renders visual
frontend/components/landing/LandingPage.tsx - Workspace operator → Authenticated app shell: opens workspace
- Authenticated app shell → Workspace selection: provides workspace state
frontend/components/layout/AppShell.tsx - Workspace dashboard → Workspace selection: reads workspace state
frontend/components/dashboard/DashboardOverview.tsx - Workspace dashboard → API client: loads dashboard data
frontend/components/dashboard/DashboardOverview.tsx - Conversation history → Workspace selection: reads workspace state
frontend/components/conversations/ConversationsHistoryView.tsx - Conversation history → API client: loads conversations
frontend/components/conversations/ConversationsHistoryView.tsx - Authenticated app shell → Operator feature views: hosts feature pages
frontend/components/layout/AppShell.tsx - Chat visitor → Public chat page: starts conversation
frontend/app/chat/[chatbotId]/page.tsx - Public chat page → Express API server: sends chat requests
- API client → Express API server: calls API