How vipul2013/vipdriveverse works
CarVerse is an AI-assisted automotive discovery and ownership-advice web app. Users search from the homepage, view generated vehicle specifications and images, and can continue into comparisons, engine variants, ownership-cost estimates, brand pages, rankings, filtered discovery, or a PIN-protected Dream Garage. The README documents broader AI guidance and comparison capabilities; sampled routes confirm several paths, while unsampled modules are represented at their exact tree paths. Edges are limited to explicit README relationships or visible imports/calls; other documented capabilities are retained without speculative wiring.
Main entry points: router.tsx Route system · car.$name.tsx Car profile · dream-garage.functions.ts Garage operations · dream-auth.functions.ts Garage authentication
Components 26
Discovery and routing
- Home search
src/routes/index.tsx - Route system
src/router.tsx - Brand directory
src/routes/brands.tsx - Brand profile
src/routes/brand.$name.tsx - Car finder
src/routes/finder.tsx - Finder scoring
src/lib/finder-scoring.ts - Car rankings
src/routes/rankings.tsx
Vehicle intelligence
- Car profile
src/routes/car.$name.tsx - AI specifications
src/lib/car.functions.ts - Car identity
src/lib/car-id.ts - Engine options
src/lib/engine.functions.ts - Car imagery
src/lib/car-images.functions.ts - AI car expert
src/components/AiAssistant.tsx
Comparison and advice
- Comparison page
src/routes/compare.tsx - AI comparison
src/lib/car.functions.ts - Ownership calculator
src/routes/calculator.tsx - Cost estimation
src/lib/cost-calculator.ts
Garage and identity
- Dream Garage
src/routes/dream-garage.tsx - Garage operations
src/lib/dream-garage.functions.ts - Garage authentication
src/lib/dream-auth.functions.ts - Session helpers
src/lib/dream-auth.server.ts
Data and integrations
- Supabase service client
src/integrations/supabase/client.server.ts - Supabase data store
- AI model gateway
src/lib/ai-gateway.server.ts
Other components
- Car shopper
- AI provider
Connections 35
- Car shopper → Home search: searches
src/routes/index.tsx - Home search → Route system: navigates
src/routes/index.tsx - Route system → Car profile: routes to
src/routeTree.gen.ts - Route system → Comparison page: routes to
src/routeTree.gen.ts - Route system → Car finder: routes to
src/routeTree.gen.ts - Route system → Ownership calculator: routes to
src/routeTree.gen.ts - Route system → Dream Garage: routes to
src/routeTree.gen.ts - Route system → Brand directory: routes to
src/routeTree.gen.ts - Route system → Car rankings: routes to
src/routeTree.gen.ts - Route system → Brand profile: routes to
src/routeTree.gen.ts - Car profile → AI specifications: fetches specs
src/routes/car.$name.tsx - Car profile → Car identity: uses identity
src/routes/car.$name.tsx - Car profile → Engine options: fetches variants
src/routes/car.$name.tsx - Car profile → Car imagery: loads images
src/routes/car.$name.tsx - Car profile → Garage operations: saves car
src/routes/car.$name.tsx - Car profile → Garage authentication: checks account
src/routes/car.$name.tsx - Engine options → Supabase service client: reads and writes
src/lib/engine.functions.ts - Engine options → AI model gateway: generates options
src/lib/engine.functions.ts - AI specifications → AI model gateway: generates specs
src/lib/car.functions.ts - AI model gateway → AI provider: requests generation
- Comparison page → AI specifications: fetches car data
src/routes/compare.tsx - Comparison page → AI comparison: requests analysis
src/lib/car.functions.ts - Ownership calculator → AI specifications: fetches car data
src/routes/calculator.tsx - Ownership calculator → Cost estimation: estimates costs
src/routes/calculator.tsx - Car finder → Finder scoring: scores matches
- Car finder → Car imagery: loads images
src/routes/finder.tsx - Brand profile → AI car expert: uses expert
src/components/AiAssistant.tsx - Dream Garage → Garage authentication: authenticates
src/routes/dream-garage.tsx - Dream Garage → Garage operations: manages cars
src/routes/dream-garage.tsx - Garage operations → Session helpers: requires user
src/lib/dream-garage.functions.ts - Garage authentication → Session helpers: updates session
src/lib/dream-auth.functions.ts - Garage operations → Supabase service client: reads and writes
src/lib/dream-garage.functions.ts - Garage authentication → Supabase service client: reads and writes
src/lib/dream-auth.functions.ts - Supabase service client → Supabase data store: accesses
src/integrations/supabase/client.server.ts - Home search → AI car expert: presents expert
src/routes/index.tsx