8000 GitHub - mehmetalicayhan/movie-list
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mehmetalicayhan/movie-list

Repository files navigation

This is a simple movie list app that allows users to search for movies and show details about them. The app uses the OMDB API to get the movie data.

The app has the following features:

  • Search for movies by title
  • View movie details

The app is built using the following technologies:

Deploy

Running the app locally

  1. Clone the repository
git clone https://github.com/mehmetalicayhan/movie-list.git
  1. Before you run the app, you need to get an API key from OMDB API and add it to the .env file in the root directory of the project. There is an .env.example file in the root directory of the project. You can copy your API key to the .env.example file and rename it to .env

Example:


VITE_API_KEY=your_api_key
VITE_API_URL=http://www.omdbapi.com/
  1. Install dependencies
npm install

For starting application on browser in development mode

npm run dev

The app will be running on http://localhost:5173

Compiles and minifies for production and preview the app

npm run preview

You can preview the app on http://localhost:4173

Compiles and minifies for production

npm run build
0