Files
Showy/docs-vault/Routing.md
X4Lo 229ecef902 Update docs vault and README for recent features
- New notes: History, Artwork
- Rewrite TMDB Integration: single detail request, entry mapper, rate
  limiter, refresh sync, stale-entry refresh, recommendations
- Update pages, routing, API reference, models, database migrations,
  services, components, hooks, API clients, settings, media system,
  library, Electron (Tauri in progress) and known issues
- Rewrite README for the current React/Express stack and setup
2026-11-05 19:55:04 +00:00

3.1 KiB

title, tags
title tags
Routing
frontend
routing
pages

Routing

Overview

React Router 7 with lazy-loaded pages. All routes defined in react_frontend/src/App.tsx.

Every page uses React.lazy() with a custom <Suspense> skeleton fallback.

Route Table

Path Page Component Skeleton Description
/ HomePage HomeSkeleton Landing page with trending/popular
/search SearchPage HomeSkeleton TMDB multi-search
/dashboard DashboardPage DashboardSkeleton Statistics charts
/library LibraryPage LibrarySkeleton Library grid/list
/discover/:category DiscoverPage HomeSkeleton TMDB browse (popular, trending, top-rated, upcoming)
/watchlist WatchlistPage WatchlistSkeleton Watchlist entries
/history HistoryPage WatchlistSkeleton History — list, timeline, year in review
/collections CollectionsPage CollectionsSkeleton Collections overview
/collections/:id CollectionDetailsPage CollectionDetailsSkeleton Collection with entries
/media MediaPage MediaSkeleton Media management
/discovery-videos DiscoveryVideosPage DiscoveryVideosSkeleton Personal video vault — see Discovery Videos
/calendar CalendarPage CalendarSkeleton Calendar upcoming episodes
/entry/tmdb/:type/:tmdbId EntryDetailsPage EntryDetailsSkeleton Entry not in the library (TMDB preview, same page)
/entry/tmdb/:type/:tmdbId/cast TmdbCastsPage PeopleSkeleton Full cast of a TMDB-only entry
/entry/:id EntryDetailsPage EntryDetailsSkeleton Entry details, seasons, cast
/entry/:id/cast EntryCastsPage EntryDetailsSkeleton Full cast & crew
/entry/:entryId/season/:seasonId SeasonPage SeasonSkeleton Season episodes
/entry/:entryId/season/:seasonId/episode/:episodeId EpisodePage EpisodeSkeleton Episode details
/people PeoplePage PeopleSkeleton People browse
/people/:id PersonDetailsPage PersonDetailsSkeleton Person profile + filmography
/people/tmdb/:tmdbId PersonDetailsPage PersonDetailsSkeleton Person not in the DB (TMDB data, same page)
/watch-buddies WatchBuddiesPage PeopleSkeleton Watch buddies
/watch-buddies/:id WatchBuddyProfilePage PeopleSkeleton Buddy profile
/settings SettingsPage SettingsSkeleton Settings Page

Layout

All routes are wrapped in AppLayout which provides:

  • Sidebar — left-side navigation
  • Main content area

URL Patterns

Entry Details Hierarchy

/entry/:id                                    → EntryDetailsPage
/entry/:entryId/season/:seasonId              → SeasonPage
/entry/:entryId/season/:seasonId/episode/:episodeId → EpisodePage

Breadcrumbs

See Navigation for breadcrumb patterns on nested pages.

See Also