WEB BINGE is a responsive React single-page application for browsing TV shows and movies. It includes a dynamic watchlist, a modal details view, and a details page with an embedded video and suggestions.
- Responsive UI (desktop/tablet/mobile) using custom CSS
- Browse sections: Top TV Shows and Top Movies
- Filter by minimum star rating (0.0 to 5.0) with numeric input
- Click any card to open a modal with title, year, runtime/director, and an extended description
- Add/remove/clear items in My Watchlist (persisted in
localStorage) - Click Watch Now to navigate to the
/detailspage /detailspage shows an embedded video, extended description, and a suggestions list
- React (component-based UI + state handling)
- React Router DOM (navigation between main page and details page)
- Vite (build tooling)
- HTML + CSS (semantic structure + styling/responsiveness)
- JavaScript (dynamic behavior: filtering, modal, watchlist, persistence)
-
Install dependencies:
npm install
-
Run in development mode:
npm run dev
-
Build the production bundle:
npm run build
-
(Optional) Preview the production build:
npm run preview
- Filter: Set “Minimum stars” (0.0 - 5.0). Cards update instantly.
- Add to Watchlist:
- Type a title in My Watchlist and click Add Movie.
- If the title matches an existing item, the full details are added; otherwise a new placeholder entry is created.
- Remove/Clear:
- Click Remove on a watchlist card.
- Click Clear All to empty the watchlist.
- Details:
- Click a card to open the modal.
- Click Watch Now to go to the full details page.
index.html- app root HTMLsrc/main.jsx- React bootstrapsrc/App.jsx- routes + watchlist persistencesrc/pages/-MainPage.jsx,DetailsPage.jsxsrc/components/-Navbar,MovieCard,Modal,Notification, etc.src/data/- seed media datasrc/utils/- helper functionssrc/style.css- styling