A simple React application that allows you to search for movies using The Movie Database (TMDB) API.
- List trending movies
- List popular movies
- Search movies by title
- Display movie details including poster, title, release date and overview
- Node.js installed on your machine
- TMDB API key (see instructions below)
- Go to The Movie Database website
- Create an account or sign in if you already have one
- Go to your profile settings
- Click on "API" in the left sidebar
- Click on "Create" or "Request an API key"
- Fill out the form with your application details
- Choose "Developer" as API type
- Provide the required information about your application
- Once approved, you will receive your API key
- Copy your API key and paste it in the
.env
file
- Clone this repository
git clone <repository-url>
- Install dependencies
npm install
- Create a
.env
file in the root directory and add your TMDB API key:
VITE_API_URL=https://api.themoviedb.org/3
VITE_API_KEY=your_api_key_here
- Start the development server
npm run dev
- Open http://localhost:5173 in your browser
- React.js
- Vite
- Tanstack Router
- Tailwind
- TMDB API
This project is licensed under the MIT License.