This React application allows users to search and view detailed information about movies, TV series, and episodes using the OMDb API. It features pagination, detailed movie cards, and the ability to filter results by year and type.
- Search movies, TV series, and episodes by name.
- Filter results by release year.
- Choose to display results for movies, TV series, or episodes.
- View detailed information about each movie, including IMDb ID, cast, plot, and more.
- Pagination support to navigate through search results.
Before running this project, make sure you have Node.js and npm installed. You can download them from here.
-
Clone the repository:
git clone https://github.com/OnurSerbes/movie-app.git cd movie-app
-
Install dependencies:
npm install
-
Set up the environment variables: Create a
.env
file in the root directory and add the following:REACT_APP_OMDB_API_KEY=your_omdb_api_key
Replace
your_omdb_api_key
with your actual OMDb API key. -
Run the application:
npm start
This will run the app in development mode. Open http://localhost:3000 to view it in the browser.