How beastmas065/sceneva works
Sceneva is a client-side content recommendation app. Users choose content types, region, genre preferences and quiz answers; the quiz scores those preferences, requests a recommendation, saves it, and presents a result with optional poster artwork. The app also exposes landing, about and history views. Content catalogs and question sets supply the recommendation logic; history is handled through the data layer. The map follows explicit imports and calls in the excerpts and SOURCE INDEX. Other UI primitives and unsampled page details are omitted where their runtime relationships are not established.
Main entry points: App.tsx App router · Landing.tsx Landing page · History.tsx History page · content.ts Catalog aggregator
Components 25
App and pages
- App router
src/App.tsx - Landing page
src/pages/Landing.tsx - About page
src/pages/About.tsx - History page
src/pages/History.tsx
Quiz and recommendations
- Quiz flow
src/pages/Quiz.tsx - Result view
src/pages/Result.tsx - Recommendation logic
src/data/index.ts - Quiz questions
src/data/questions.ts - Saved history
src/data/index.ts - TMDB service
src/lib/tmdb.ts
Content catalog
- Catalog aggregator
src/data/content.ts - Movie catalog
src/data/movies.ts - Legacy movie catalog
src/data/movies-legacy.ts - Anime catalog
src/data/anime.ts - Animation catalog
src/data/animated.ts - Web series catalog
src/data/webseries.ts
Shared interface
- Landing hero
src/components/landing/HeroSection.tsx - Mode selector
src/components/landing/ModeSelector.tsx - Header and navigation
src/components/layout/Header.tsx - Footer
src/components/layout/Footer.tsx - Page transition
src/components/ui/PageTransition.tsx - Toast display
src/components/ui/toast.tsx - Tooltip provider
src/components/ui/tooltip.tsx
Other components
- Viewer
- TMDB API
Connections 33
- Viewer → App router: opens
- App router → Landing page: routes to
src/App.tsx - App router → Quiz flow: routes to
src/App.tsx - App router → Result view: routes to
src/App.tsx - App router → About page: routes to
src/App.tsx - App router → History page: routes to
src/App.tsx - App router → Toast display: renders
src/App.tsx - App router → Tooltip provider: provides
src/App.tsx - Landing page → Landing hero: renders
src/pages/Landing.tsx - Landing page → Mode selector: renders
src/pages/Landing.tsx - Quiz flow → Recommendation logic: requests pick
src/pages/Quiz.tsx - Quiz flow → Saved history: saves result
src/pages/Quiz.tsx - Recommendation logic → Quiz questions: gets questions
src/data/index.ts - Recommendation logic → Catalog aggregator: scores catalog
src/data/index.ts - Catalog aggregator → Movie catalog: imports catalog
src/data/content.ts - Catalog aggregator → Anime catalog: imports catalog
src/data/content.ts - Catalog aggregator → Animation catalog: imports catalog
src/data/content.ts - Catalog aggregator → Web series catalog: imports catalog
src/data/content.ts - Recommendation logic → Legacy movie catalog: uses catalog
src/data/index.ts - Result view → TMDB service: requests poster
src/pages/Result.tsx - TMDB service → TMDB API: searches posters
src/lib/tmdb.ts - History page → Saved history: reads history
src/pages/History.tsx - Landing page → Header and navigation: renders
src/pages/Landing.tsx - Landing page → Footer: renders
src/pages/Landing.tsx - About page → Header and navigation: renders
src/pages/About.tsx - About page → Footer: renders
src/pages/About.tsx - History page → Header and navigation: renders
src/pages/History.tsx - History page → Footer: renders
src/pages/History.tsx - Landing page → Page transition: wraps content
src/pages/Landing.tsx - About page → Page transition: wraps content
src/pages/About.tsx - History page → Page transition: wraps content
src/pages/History.tsx - Quiz flow → Page transition: wraps content
src/pages/Quiz.tsx - Result view → Page transition: wraps content
src/pages/Result.tsx