How fahad-011/bookmyshow-clone works
Project type and purpose
• This is a single-page application (SPA) built in React that clones the BookMyShow front-end experience.
• It has no custom backend code in the repo; instead it relies on third-party APIs (TheMovieDB, Google OAuth, Razorpay, OpenCage) and is hosted as a static site (Netlify).
File structure
• Top level:
• public/ – static HTML, manifest, robots.txt
• src/ – React source
• netlify.toml – deployment configuration
• package.json / package-lock.json
• src/ breakdown:
• src/index.js + src/index.css – app entry, global CSS (Tailwind)
• src/App.js – root component with Router setup
• src/context/Movie.context.jsx – Context provider for global movie state
• src/layout/… – layout wrappers (Default.layout, Movie.layout)
• src/pages/… – routed pages (Home, Movie, Play, 404)
• src/components/… – feature-based components (Navbar, HeroCarousel, PosterSlider, MovieHero, Cast, Modal, PaymentModel, Loader, Footer, etc.)
README for insights
• Key features: Home page with carousel, Movie page with details and booking flow, Event and Order pages.
• Technical stack: React, React Router, Axios, React Slick, headlessui/react, react-oauth/google, Razorpay SDK, OpenCage geolocation, Tailwind CSS.
• Environment variables for API keys.