🎬 Movie App - https://react-movie-app-gules-kappa.vercel.app/
A simple React application that fetches and displays movies using an external API. Users can also mark movies as favourites.
- 🔍 Search for movies by title
- 🖼️ View movie posters, titles, and release years
- ❤️ Mark/unmark movies as favourites
- 💾 Persistent favourites using
localStorage - 📱 Responsive design
- React
- JavaScript (ES6+)
- CSS
- TMDb API
git clone https://github.com/your-username/movie-app.git
cd movie-app
npm install
npm startThe app will run on http://localhost:3000
- The app uses
fetch()to call the TMDb API based on user input. - Movies are displayed as cards with poster, title, and year.
- Favourites are stored in the browser
localStorageand retrieved on load. - Clicking on a heart icon toggles favourite status.
- You’ll need to get a free API key from [TMDb API] and replace it in the code where required.
- Add your .env file if you're using environment variables.
movie-app/
├── public/
├── src/
│ ├── components/
│ ├── App.js
│ ├── index.js
│ └── ...
├── package.json
└── README.md
Made by Hitesh Venugopalan — based on Tech With Tim's React tutorial.