A movie search site that fetches and displays movies from the OMDB API.
- Search box and search button to type and request movies
- A display of fetched movies from OMDB API - title, poster and date
- Responsive design using media queries
- Error handling using try/catch
- Loading state while fetching data
- Empty state handling when no results are found
- Vite
- OMDB API
- React.js (including useState and useEffect)
- CSS
- Clone the repo from GitHub
- Run
npm install - Create a
.envfile in the root and add your API key asVITE_API_KEY=yourkey - Run
npm run dev