RetroDB is a movie and TV show review site where users can find information on popular, top-rated, currently playing, and upcoming movies and TV shows. The site is built using Vite + React and styled with Tailwind CSS.
- Browse Movies and TV Shows: Users can browse popular, top-rated, now playing, airing today, and on air movies and TV shows.
- Search Functionality: Users can search for movies and TV shows.
- Detailed Information: Detailed information on each movie and TV show including rating, overview, cast, and crew.
- Responsive Design: Fully responsive design ensuring a great user experience on both desktop and mobile devices.
- Pagination: Users can navigate through different pages of content seamlessly.
- Frontend: React, Vite
- Styling: Tailwind CSS
- Routing: React Router
- API: The Movie Database (TMDb) API
- Hosting: Netlify
- Clone the repository:
git clone https://github.com/yourusername/retrodb.git
- Navigate to the project directory:
cd retrodb - Install dependencies:
npm install
- Create a
.envfile in the root directory and add your TMDb API key:VITE_TMDB_API_KEY=your_api_key_here
- Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:3000to see the site in action. - Use the search bar to find specific movies or TV shows.
- Browse through different categories using the navigation bar.
- Click on any movie or TV show to see detailed information.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes.
- Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/your-feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.
- Thanks to The Movie Database (TMDb) for providing the API used in this project.
- This project was bootstrapped with Vite.
If you have any questions or suggestions, feel free to open an issue or contact me directly at tdmahindarathne@gmail.com