Welcome to the Movie App! This application allows users to search for movies using the OMDb API. Users can search for movies by title, view movie details, and more.
Before you begin, ensure you have the following installed on your local machine:
- Node.js (recommended version: 20.x)
- Yarn (optional, but recommended for package management)
- Clone the repository:
git clone https://github.com/fatihes1/movie-app
- Navigate to the project directory:
cd movie-app
- Install dependencies:
yarn install
- Create a
.env.local
file in the root directory based on.env.example
and replaceYOUR_OMDB_API_KEY
with your actual OMDb API key.
To run the app locally:
yarn dev
This will start the development server and open the app in your default web browser.
Alternatively, you can run the app in a Docker container:
- Build the Docker image:
docker build -t movie-app .
- Run the Docker container:
docker run -d --rm -p 5173:5173 --name movie-app movie-app
- Check if the container is running:
docker ps
You should see the movie-app container in the list.
- Open http://localhost:5173 in your web browser.
Contributions are welcome! If you have any ideas, suggestions, or found a bug, feel free to open an issue or create a pull request.