How tahreem014/pitchbridge-ventures works
PitchBridge is a role-based startup investing platform. The main user journey runs from signing in and discovering ideas to requesting pitch access, proposing investment terms, and managing an agreement; investors can also track deals in a portfolio. The graph preserves documented public pages and admin routes, plus messaging, analytics, and portfolio capabilities. Evidence is limited to the README, source index, and sampled excerpts; unsampled implementation details are not assumed.
Main entry points: App.tsx Route application · agreements.ts Agreement operations · ProposalsView.tsx Proposal management · useAuth.tsx Session and roles
Components 24
Entry and access
- Route application
src/App.tsx - Public pages
src/pages - Sign-in and signup
src/pages/Auth.tsx - Session and roles
src/hooks/useAuth.tsx - Authenticated app shell
src/components/AppShell.tsx
Ideas and pitch access
- Idea creation and details
src/pages/app - Idea discovery
src/pages/Explore.tsx - Pitch access
src/components/pitch/AccessView.tsx - Pitch documents
src/lib/pitchDocuments.ts
Deal workflow
- Proposal management
src/components/proposals/ProposalsView.tsx - Proposal operations
src/lib/proposals.ts - Agreement details
src/pages/app/AgreementDetail.tsx - Agreement operations
src/lib/agreements.ts - Agreement PDF
src/lib/agreementPdf.ts
Communication and insights
- Messaging
src/pages/app/Messages.tsx - Message helpers
src/lib/messages.ts - Founder analytics
src/pages/app/Analytics.tsx - Investor portfolio
src/components/portfolio/PortfolioView.tsx - Chart components
src/components/charts/kit.tsx - Admin routes
src/pages/app/Placeholder.tsx
Platform services
- Supabase client
src/integrations/supabase/client.ts - Supabase data
- Shared UI components
src/components/ui
Other components
- Platform visitor
Connections 31
- Platform visitor → Route application: opens
src/App.tsx - Route application → Public pages: routes to
src/App.tsx - Route application → Sign-in and signup: routes to
src/App.tsx - Route application → Session and roles: provides context
src/App.tsx - Route application → Idea creation and details: routes to
src/App.tsx - Route application → Idea discovery: routes to
src/App.tsx - Route application → Messaging: routes to
src/App.tsx - Route application → Proposal management: routes to
src/App.tsx - Route application → Agreement details: routes to
src/App.tsx - Route application → Founder analytics: routes to
src/App.tsx - Route application → Investor portfolio: routes to
src/App.tsx - Route application → Admin routes: routes to
src/App.tsx - Sign-in and signup → Session and roles: uses auth
src/pages/Auth.tsx - Session and roles → Supabase client: auth and roles
src/hooks/useAuth.tsx - Session and roles → Supabase data: queries roles
src/hooks/useAuth.tsx - Supabase client → Supabase data: connects
src/integrations/supabase/client.ts - Idea creation and details → Pitch access: opens access
- Pitch access → Pitch documents: uses access rules
src/components/pitch/AccessView.tsx - Proposal management → Proposal operations: uses proposals
src/components/proposals/ProposalsView.tsx - Proposal management → Message helpers: uses messaging
src/components/proposals/ProposalsView.tsx - Proposal management → Investor portfolio: uses deal data
src/components/proposals/ProposalsView.tsx - Agreement details → Agreement operations: saves terms
src/pages/app/AgreementDetail.tsx - Agreement operations → Supabase client: reads agreements
src/lib/agreements.ts - Agreement operations → Message helpers: uses names
src/lib/agreements.ts - Agreement operations → Investor portfolio: uses money formats
src/lib/agreements.ts - Agreement PDF → Agreement operations: uses agreement data
src/lib/agreementPdf.ts - Messaging → Supabase client: reads and sends
src/pages/app/Messages.tsx - Messaging → Message helpers: uses helpers
src/pages/app/Messages.tsx - Founder analytics → Chart components: renders charts
- Investor portfolio → Chart components: renders charts
src/components/portfolio/PortfolioView.tsx - Sign-in and signup → Shared UI components: renders controls
src/pages/Auth.tsx