Skip to content

Latest commit

Β 

History

History
72 lines (50 loc) Β· 1.82 KB

File metadata and controls

72 lines (50 loc) Β· 1.82 KB

🍿 usePopcorn

A modern React movie search and rating app powered by the OMDb API.
Search for movies, view details, rate them yourself, and track what you’ve watched β€” all saved locally on your device!


πŸš€ Features

βœ… Search movies dynamically using the OMDb API
βœ… View detailed movie information (actors, director, genre, runtime, IMDb rating)
βœ… Rate movies with an interactive star rating system
βœ… Automatically saves your watched list in localStorage
βœ… Responsive, simple, and clean UI built with React Hooks


🧠 Built With

  • βš›οΈ React (useState, useEffect, useRef)
  • 🧰 Fetch API for data retrieval
  • πŸ’Ύ LocalStorage for persistence
  • πŸ’… CSS for styling
  • 🎬 OMDb API for movie data (OMDb Official Site)

🧩 Folder Structure

usePopcorn/ β”‚ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ App.js β”‚ β”œβ”€β”€ StarRating.js β”‚ β”œβ”€β”€ index.js β”‚ β”œβ”€β”€ index.css β”‚ └── ... β”‚ β”œβ”€β”€ package.json └── README.md


βš™οΈ Installation and Setup

1️⃣ Clone the repository git clone https://github.com//usePopcorn.git cd usePopcorn npm install npm start

πŸ”‘ API Key Setup

The app uses the OMDb API. You’ll need your own API key β€” get one free here: OMDb API Key

Then replace the constant in App.js: const KEY = "YOUR_API_KEY_HERE";

πŸ–Ό Preview image image

πŸ§‘β€πŸ’» Author

Rishi Kumar Frontend Developer | React Enthusiast πŸ”— GitHub-https://github.com/rishhhhiiii10 πŸ’Ό LinkedIn-https://www.linkedin.com/in/rishi-kumar-sharma-085382187/