A modern React-based movie application that allows users to discover, search, and explore movies with detailed information and ratings.
- Browse popular and trending movies
- Search movies by title
- View detailed movie information
- Responsive design for all devices
- Fast loading with optimized performance
- React - Frontend library
- Vite - Build tool and dev server
- ESLint - Code linting
- CSS3 - Styling
- Movie API - Data source
- Clone the repository:
git clone <repository-url>
cd movieapp
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Create a
.env
file and add your movie API key:
VITE_API_KEY=your_api_key_here
- Open your browser and visit
http://localhost:5173
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint
movieapp/
├── public/
├── src/
│ ├── components/
│ ├── pages/
│ ├── styles/
│ ├── utils/
│ ├── App.jsx
│ └── main.jsx
├── package.json
└── README.md
npm run build
npm run preview
- Port already in use: Change port with
npm run dev -- --port 3000
- API errors: Check your API key in
.env
file - Build issues: Clear cache with
rm -rf node_modules package-lock.json && npm install
- Fork the project
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
MIT License - see LICENSE file for details