This is a movie search application built with React. It allows users to search for movies by their title or name. The application fetches movie data from the OMDb API.
-
Clone the repository to your local machine:
git clone https://github.com/jareerzeenam/react-movie-search-app.git
-
Navigate to the project directory:
cd react-movie-search-app
-
Create an
.env
file in the root directory of the project. -
Open the
.env.example
file provided in the project and copy the content. -
Paste the copied content into the
.env
file. -
Obtain an API key from the OMDb API (http://www.omdbapi.com/) and replace
REACT_APP_MOVIES_API_URL
in the.env
file with your API URL.Example
.env
file:REACT_APP_MOVIES_API_URL=http://www.omdbapi.com/?apikey=your-api-key
-
Save the
.env
file. -
Install the project dependencies:
npm install
-
Start the development server:
npm start
-
Open your web browser and visit
http://localhost:3000
🚀 to access the Movie Search App. -
Enter a movie title in the search input and click the search icon or press Enter to fetch and display the corresponding movie information.
Contributions to the Movie Search App are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Feel free to modify the README file as per your requirements and add any additional sections or details that you think are necessary.