This project is a simple movie search application built with Vite in React and TypeScript. It allows users to search for movies using the OMDb API and displays the results in a user-friendly interface.
- Search: Users can enter a search term to find movies.
- Dynamic Results: As the user types, the app dynamically fetches and displays matching movie titles.
- Error Handling: The app gracefully handles errors, displaying an error message if there are issues with the API request.
- Responsive Design: The app is designed to work well on both desktop and mobile devices.
- React: The frontend framework used to build the user interface.
- TypeScript: Adds static typing to JavaScript, providing improved code quality and developer experience.
- OMDb API: The Open Movie Database API used to fetch movie data.
- Clone the repository.
- Install dependencies:
npm install
- Set up environment variables: Rename
.env.example
to.env
and provide your OMDb API key. - Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:5173
to view the app.
The app is deployed and accessible at the following URL: Movie DB