How paasolo/prospectra works
Prospectra is a multi-tenant B2B sales intelligence and engagement platform. A team member signs in, enters a workspace, discovers companies and contacts against an ideal-customer profile, then reviews and enriches prospects before using campaigns and inbox tools to manage outreach. The frontend routes product features through services to Supabase and a worker handles long-running and provider-backed work. README documents additional capabilities such as analytics, billing, calendar, and AI assistance; their implementation paths are present, but their internal wiring is not established by the sampled excerpts.
Main entry points: server.ts Worker HTTP API · router.tsx App router · DiscoveryPage.tsx Discovery UI · client.ts Supabase client
Components 25
Web app
- App router
src/app/router.tsx - Authentication
src/services/auth-service.ts - Workspace context
src/features/workspaces/workspace-context.ts - Discovery UI
src/features/discovery/DiscoveryPage.tsx - Prospect review
src/features/prospects/ProspectDetailPage.tsx
Sales intelligence
- Sales services
src/services - ICP service
src/services/icp-service.ts - Prospect service
src/services/prospect-service.ts - Supabase client
src/integrations/supabase/client.ts - Supabase
Worker runtime
- Worker HTTP API
worker/src/http/server.ts - Worker entry
worker/src/index.ts - Discovery providers
worker/src/providers/discovery-client.ts - Discovery and scoring
worker/src/discovery - Enrichment
worker/src/enrichment/execute.ts - Website analysis
worker/src/analysis/execute.ts - AI completion
worker/src/ai/openai.ts
Engagement and operations
- Campaign processing
worker/src/campaigns/process.ts - Engagement routes
worker/src/http/engagement.ts - Billing
worker/src/payments/billing.ts - Analytics
packages/shared/src/analytics.ts - AI assistant
src/services/assistant-service.ts
Shared contracts
- Database types
src/types/database.ts - Shared contracts
packages/shared/src/index.ts
Other components
- Team member
Connections 28
- Team member → App router: uses
src/app/router.tsx - App router → Authentication: routes sign-in
- App router → Discovery UI: routes discovery
src/app/router.tsx - App router → Prospect review: routes prospects
src/app/router.tsx - Discovery UI → ICP service: loads criteria
src/features/discovery/DiscoveryPage.tsx - Discovery UI → Prospect service: uses prospect data
src/features/discovery/DiscoveryPage.tsx - Prospect review → Prospect service: loads and updates
src/features/prospects/ProspectDetailPage.tsx - Prospect review → ICP service: uses scoring criteria
src/features/prospects/ProspectDetailPage.tsx - Authentication → Supabase client: authenticates through
src/services/auth-service.ts - Supabase client → Supabase: connects to
src/integrations/supabase/client.ts - Prospect service → Supabase client: reads and writes
src/services/prospect-service.ts - Supabase client → Database types: types client with
src/integrations/supabase/client.ts - Workspace context → Sales services: uses workspace service
src/features/workspaces/workspace-context.ts - Discovery UI → Worker HTTP API: requests discovery
- Worker entry → Worker HTTP API: starts server
worker/src/index.ts - Worker entry → Campaign processing: starts processing
worker/src/index.ts - Worker HTTP API → Website analysis: executes analysis
worker/src/http/server.ts - Worker HTTP API → Enrichment: executes enrichment
worker/src/http/server.ts - Worker HTTP API → AI completion: requests completions
worker/src/http/server.ts - Worker HTTP API → Engagement routes: dispatches engagement
worker/src/http/server.ts - Worker HTTP API → Discovery and scoring: settles searches
worker/src/http/server.ts - Worker HTTP API → Discovery providers: creates provider client
worker/src/http/server.ts - Discovery providers → Shared contracts: uses shared types
worker/src/providers/discovery-client.ts - Worker HTTP API → Shared contracts: uses shared schemas
worker/src/http/server.ts - Team member → Campaign processing: runs outreach
README.md - Team member → Billing: manages credits
README.md - Team member → Analytics: reviews performance
README.md - Team member → AI assistant: uses AI assistance
README.md