A modern movie discovery web app built with React and TMDB API. Browse movies, search for your favorites, and explore cast details.
- Browse popular and trending movies
- Search for movies by title
- View detailed movie information
- Explore cast and crew details
- Responsive design for all devices
- User authentication (Login/Signup)
- Movie filtering by genre and year
- React 19 - UI library
- Redux Toolkit - State management
- React Router - Navigation
- Tailwind CSS - Styling
- Shadcn UI - UI components
- Radix UI - Accessible primitives
- DaisyUI - Component library
- Lucide React - Icons
- Framer Motion - Animations
- Swiper - Carousels
- Vite - Build tool
- TMDB API - Movie data
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/sameersheikh2/MoviePalace2.0.git cd moviepalace -
Install dependencies
npm install
-
Set up environment variables
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
Navigate to
http://localhost:5173
components/ # Reusable UI component
src/
├── components/ # Reusable components
├── pages/ # Page components
│ ├── Home.jsx
│ ├── SearchResults.jsx
│ ├── MovieDetail.jsx
│ ├── CastDetail.jsx
│ ├── Login.jsx
│ └── Signup.jsx
├── store/ # Redux store and slices
└── utils/ # Helper functions
└── ui/ # ui components
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- Build the project:
npm run build - Deploy the
distfolder to platforms like Vercel (Highly recomended), Netlify, or GitHub Pages
This project is open source and available under the MIT License.
Sameer Sheikh
- GitHub: @sameersheikh2
- LinkedIn: Sameer Sheikh