How irfan-devops1/netflix-clone-devsecops-project works
This repository is the React/TypeScript frontend for a Netflix-style streaming catalog. Its user workflow is route selection into home browsing, genre exploration, or watching; catalog state and queries are organized around TMDB data, with detail and similar-title UI alongside playback controls. The README also describes container deployment and DevSecOps operations, but the supplied tree contains no corresponding pipeline or infrastructure implementation, so those are not mapped as runtime components. Some page and API modules were not excerpted; their internal calls are therefore omitted.
Main entry points: main.tsx React entry · index.tsx Route selection · DetailModal.tsx Title details · discover.ts Discovery queries
Components 20
Application shell
- React entry
src/main.tsx - Route selection
src/routes/index.tsx - Main layout
src/layouts/MainLayout.tsx - Navigation and search
src/components/layouts/MainHeader.tsx
Catalog discovery
- Home browsing
src/pages/HomePage.tsx - Genre exploration
src/pages/GenreExplore.tsx - Infinite catalog grid
src/components/GridWithInfiniteScroll.tsx - Featured titles
src/components/HeroSection.tsx
Details and playback
- Watch page
src/pages/WatchPage.tsx - Title details
src/components/DetailModal.tsx - Similar titles
src/components/SimilarVideoCard.tsx - Video player
src/components/watch/VideoJSPlayer.tsx - Player controls
src/components/watch/PlayerControlButton.tsx
Data and state
- Redux store
src/store/index.ts - TMDB API base
src/store/slices/apiSlice.ts - Discovery queries
src/store/slices/discover.ts - App configuration
src/store/slices/configuration.ts - Genre data
src/store/slices/genre.ts
Other components
- Viewer
- TMDB service
Connections 13
- Viewer → React entry: opens app
- React entry → Redux store: provides state
src/main.tsx - React entry → Route selection: mounts routes
src/main.tsx - React entry → App configuration: loads configuration
src/main.tsx - Route selection → Home browsing: routes to
src/routes/index.tsx - Route selection → Genre exploration: routes to
src/routes/index.tsx - Route selection → Watch page: routes to
src/routes/index.tsx - Redux store → TMDB API base: registers reducer
src/store/index.ts - Discovery queries → TMDB API base: injects queries
src/store/slices/discover.ts - Discovery queries → TMDB service: fetches catalog data
src/store/slices/discover.ts - Title details → Similar titles: renders
src/components/DetailModal.tsx - Title details → Video player: renders
src/components/DetailModal.tsx - Video player → Player controls: uses controls