A modern and responsive movie search application built using React, Tailwind CSS, and the TMDB API.
It allows users to search for movies, view details, and play official YouTube trailers directly from the app.
- 🔍 Search Movies — Search by title using the TMDB API
- 🎥 Watch Trailers — Integrated YouTube trailers for movies
- 📱 Responsive Design — Fully responsive UI using Tailwind CSS
- 🌑 Dark Mode Support (if enabled in Tailwind)
- ⚡ Fast & Lightweight — Built with Vite for blazing-fast performance
/movie-app │ ├── src/ │ ├── App.jsx # Main movie search UI and logic │ ├── main.jsx # React entry point │ └── index.css # Tailwind base styles │ ├── public/ # Static assets (if present) ├── tailwind.config.js # Tailwind setup ├── postcss.config.js # PostCSS setup └── package.json
# 1️⃣ Clone the repository
git clone https://github.com/Durgarao3/Movie-app.git
cd Movie-app
# 2️⃣ Install dependencies
npm install
# 3️⃣ Start the development server
npm run devIf you cloned this repo, Tailwind is already set up. But if you’re starting from scratch:
# Install Tailwind CSS & dependencies
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -pThis app uses TMDB API for fetching movie data and YouTube trailer links.
- Sign up at TMDB Developer Portal
- Create a new API key
- Create a .env file in your project root and add:
VITE_TMDB_API_KEY=your_tmdb_api_key_here- React — Component-based UI
- Tailwind CSS — Utility-first styling
- Vite — Lightning-fast build tool
- TMDB API — Movie search & trailer data
- YouTube Embed — Play trailers directly in the app
Make sure you add your TMDB API key securely when deploying or in environment variables
Author Built and styled by Durgarao3
In your project’s root directory (Movie-app):
# Step 1: Create the README.md
touch README.md
# Then paste the README content above into README.md
# Step 2: Stage and commit the file
git add README.md
git commit -m "Add README with project overview"
# Step 3: Push to GitHub
git push origin main
