MovieBox (Community) is a movie discovery web application that allows users to search for movies, view movie details, and save their favorite movies. This project is built using React and Tailwind CSS, and it consumes movie data from the TMDB API.
- Browse a list of the top 10 movies on the homepage.
- Search for movies by title.
- View movie details, including title, release date, runtime, and overview.
- Save favorite movies.
- Error handling for API failures.
- Responsive and visually appealing design.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed on your development machine.
- TMDB API Key (Get one from TMDB API)
-
Clone the repository:
git clone https://github.com/akinbo-emmanuel/moviebox-community.git
-
Navigate to the project directory:
cd moviebox-community
-
Create a
.env
file in the root directory and add your TMDB API key:VITE_TMDB_API_KEY=your-api-key-here
-
Install the project dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your web browser and navigate to
http://localhost:5173
to access the MovieBox (Community) application.
- This project uses the TMDB API to fetch movie data.
- API documentation: TMDB API Documentation
- API endpoints used:
- Fetch movie details by ID:
https://api.themoviedb.org/3/movie/{movie_id}
- Fetch movie details by ID:
Contributions are welcome! Here's how you can contribute to this project:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m 'Add your feature'
- Push to your branch:
git push origin feature/your-feature-name
- Open a pull request on the main repository.
This project is licensed under the MIT License.