How cruxm-organic/modern-plastics-voice-crm works
Modern Plastics is a B2B voice-agent CRM with a Streamlit operations interface and FastAPI backend. Users log in, manage leads, inspect local-time calling safety and call history, and review operational metrics; the backend scopes CRM data to authenticated users and also accepts voice-provider webhooks and offers call simulation. The excerpts show the main API and database setup, but omit portions of the UI and webhook implementation, so those relationships are not inferred beyond what is visible.
Main entry points: app.py CRM dashboard · main.py Lead routes
Components 15
CRM interface
- CRM dashboard
frontend/app.py - Login and registration
frontend/app.py - Lead management
frontend/app.py - Timezone safety view
frontend/app.py - Call history view
frontend/app.py
CRM backend
- Authentication routes
backend/main.py - Session authentication
backend/main.py - Lead routes
backend/main.py - Timezone safety evaluation
backend/main.py - Call history route
backend/main.py - Voice webhook
backend/main.py - Call simulation
backend/main.py
CRM data
- CRM database
backend/main.py
Other components
- CRM operator
- ElevenLabs
Connections 20
- CRM operator → CRM dashboard: uses
- CRM dashboard → Login and registration: presents
frontend/app.py - Login and registration → Authentication routes: requests login
frontend/app.py - Lead management → Lead routes: fetches and creates
frontend/app.py - Timezone safety view → Lead routes: requests status
frontend/app.py - Call history view → Call history route: requests history
frontend/app.py - CRM dashboard → Lead management: renders
frontend/app.py - CRM dashboard → Timezone safety view: renders
frontend/app.py - CRM dashboard → Call history view: renders
frontend/app.py - Authentication routes → CRM database: reads and writes
backend/main.py - Lead routes → Session authentication: requires user
backend/main.py - Call history route → Session authentication: requires user
backend/main.py - Lead routes → CRM database: reads and writes
backend/main.py - Call history route → CRM database: reads
backend/main.py - Session authentication → CRM database: looks up user
backend/main.py - Lead routes → Timezone safety evaluation: evaluates timezone
backend/main.py - Call simulation → Session authentication: requires user
backend/main.py - Call simulation → CRM database: loads lead
backend/main.py - Call simulation → Voice webhook: calls handler
backend/main.py - ElevenLabs → Voice webhook: submits events