How jagathastroved/ai_kundali_report_final works
This is a browser-based Kundli astrology report app. Users enter birth details and location, the form requests a report, and report state combines returned data with a tailored local fallback before routing users through a multi-section report and premium offers. The map preserves the major report-analysis sections and pricing/location capabilities. Edges follow excerpts, SOURCE INDEX references, or the routes shown; several API and page implementations were not sampled, so their internal behavior is not inferred.
Main entry points: AppRoutes.tsx Report routing · ReportContext.tsx Report state · BirthDetailsForm.tsx Birth details form · AppProviders.tsx App providers
Components 30
Birth Intake
- Landing screen
src/pages/LandingScreen.tsx - Birth details form
src/components/forms/BirthDetailsForm.tsx - Location lookup
src/api/locationApi.ts - Location utilities
src/utils/locationCurrencyUtils.ts - Report API
src/api/reportApi.ts
App State & Services
- App shell
src/App.tsx - Report routing
src/routes/AppRoutes.tsx - App providers
src/providers/AppProviders.tsx - Report state
src/context/ReportContext.tsx - Theme state
src/context/ThemeContext.tsx
Kundli Report
- Report book
src/components/report/KundliReportBook.tsx - Report welcome
src/pages/WelcomePage.tsx - Birth star analysis
src/pages/BirthStarAnalysis.tsx - Core personality
src/pages/CorePersonalityPage.tsx - Influential signs
src/pages/InfluentialSigns.tsx - Element analysis
src/pages/DominantElement.tsx - Karmic chakra
src/pages/KarmicChakra.tsx - Lagna chart
src/pages/LagnaChartPage.tsx - Planetary strengths
src/pages/PlanetaryStrengthsPage.tsx - Planetary profiles
src/pages/PlanetaryProfilesPage.tsx - Atmakaraka
src/pages/AtmakarakaPage.tsx - Dasha timeline
src/pages/DashaWheelPage.tsx - Report features
src/pages/ReportFeaturesPage.tsx - PDF download
src/components/ui/DownloadPdfButton.tsx - Report visual elements
src/components/ui/SharedElements.tsx
Premium & Pricing
- Premium deliverables
src/pages/PremiumDeliverablesPage.tsx - Full report offer
src/components/FullReportOfferModal.tsx - Price state
src/context/PriceContext.tsx - Price API
src/api/PriceApi.ts
Other components
- Report reader
Connections 48
- Report reader → Landing screen: starts report
- App shell → App providers: wraps
src/App.tsx - App shell → Report routing: renders
src/App.tsx - App providers → Report state: provides
src/providers/AppProviders.tsx - App providers → Theme state: provides
src/providers/AppProviders.tsx - App providers → Price state: provides
src/providers/AppProviders.tsx - Report routing → Report state: reads
src/routes/AppRoutes.tsx - Report routing → Landing screen: routes to
src/routes/AppRoutes.tsx - Report routing → Report book: routes to
src/routes/AppRoutes.tsx - Report routing → Report welcome: routes to
src/routes/AppRoutes.tsx - Report routing → Birth star analysis: routes to
src/routes/AppRoutes.tsx - Report routing → Core personality: routes to
src/routes/AppRoutes.tsx - Report routing → Influential signs: routes to
src/routes/AppRoutes.tsx - Report routing → Element analysis: routes to
src/routes/AppRoutes.tsx - Report routing → Karmic chakra: routes to
src/routes/AppRoutes.tsx - Report routing → Lagna chart: routes to
src/routes/AppRoutes.tsx - Report routing → Planetary strengths: routes to
src/routes/AppRoutes.tsx - Report routing → Planetary profiles: routes to
src/routes/AppRoutes.tsx - Report routing → Atmakaraka: routes to
src/routes/AppRoutes.tsx - Report routing → Dasha timeline: routes to
src/routes/AppRoutes.tsx - Report routing → Report features: routes to
src/routes/AppRoutes.tsx - Report routing → Premium deliverables: routes to
src/routes/AppRoutes.tsx - Landing screen → Birth details form: renders
src/pages/LandingScreen.tsx - Birth details form → Location lookup: looks up places
src/components/forms/BirthDetailsForm.tsx - Birth details form → Location utilities: uses fallback
src/components/forms/BirthDetailsForm.tsx - Birth details form → Report API: requests report
src/components/forms/BirthDetailsForm.tsx - Birth details form → Report state: submits details
src/components/forms/BirthDetailsForm.tsx - Report book → Report state: reads report
src/components/report/KundliReportBook.tsx - Report book → Theme state: reads theme
src/components/report/KundliReportBook.tsx - Report book → Full report offer: renders
src/components/report/KundliReportBook.tsx - Premium deliverables → Report state: reads report
src/pages/PremiumDeliverablesPage.tsx - Premium deliverables → Location utilities: uses currency info
src/pages/PremiumDeliverablesPage.tsx - Premium deliverables → Price state: reads prices
src/pages/PremiumDeliverablesPage.tsx - Price state → Price API: loads prices
src/context/PriceContext.tsx - Full report offer → Price state: reads prices
src/components/FullReportOfferModal.tsx - Full report offer → Location utilities: uses currency info
src/components/FullReportOfferModal.tsx - Birth star analysis → Report state: reads report
src/pages/BirthStarAnalysis.tsx - Core personality → Report state: reads report
src/pages/CorePersonalityPage.tsx - Influential signs → Report state: reads report
src/pages/InfluentialSigns.tsx - Element analysis → Report state: reads report
src/pages/DominantElement.tsx - Karmic chakra → Report state: reads report
src/pages/KarmicChakra.tsx - Lagna chart → Report state: reads report
src/pages/LagnaChartPage.tsx - Planetary strengths → Report state: reads report
src/pages/PlanetaryStrengthsPage.tsx - Planetary profiles → Report state: reads report
src/pages/PlanetaryProfilesPage.tsx - Atmakaraka → Report state: reads report
src/pages/AtmakarakaPage.tsx - Dasha timeline → Report state: reads report
src/pages/DashaWheelPage.tsx - Element analysis → Report visual elements: uses visuals
src/pages/DominantElement.tsx - Lagna chart → Report visual elements: uses visuals
src/pages/LagnaChartPage.tsx