How nare809/hdscreen works
Project type and purpose
• This is a React‐based single-page streaming platform (“HdScreen”) that displays movies/TV shows to end users.
• The front-end is delivered as a static bundle (built by Webpack) and relies on Firebase for user management and persistent state, plus TMDB’s public API for content metadata.
File structure
• Top-level: configuration files (.babelrc, webpack.config.js, README.md, etc.), public assets under /public, and source under /src.
• /src/components: hundreds of UI building-blocks (cards, banners, players, modals, etc.).
• /src/containers: higher-order or route components that tie UI to data and context (App.jsx, HomepageContainer.jsx, ActorPageContainer.jsx, etc.).
• /src/Firebase: Firebase initialization (firebase.js), authentication/user utilities (UserUtils.js, UserContext.js), and list management.
• /src/api/tmdb.js: wrapper for TMDB external API calls.
• Build/deploy scripts: .cmd files, production vs. development webpack configs, bundle analysis, gzip compression.
README for additional insights
• Uses React.lazy/Suspense for code splitting.
• Asset compression (gzip).
• Preload hints, optimized splitChunks, Sass config.