This is a YouTube clone built with React, Redux, Tailwind CSS, and the YouTube API.
- View trending videos
- Search for videos by keyword
- Watch videos
- Responsive design
- Dark mode support
- Clone the repository:
git clone https://github.com/AAKASH-YADAV-CODER/youtube-clone.git
- Install dependencies:
cd your-youtube-clone npm install
-
Obtain API keys
- Get an API key from the Rapid API Platform
- Enable the YouTube Data API v3
-
Create a
.envfile in the root directory of your project and add your API key:
REACT_APP_YOUTUBE_API_KEY=YOUR_API_KEY_HERE
- Start the development server:
npm run dev
- Open
http://localhost:3000in your browser.
- React + Vite
- Tailwind CSS
- YouTube API
- This project was inspired by the YouTube platform.
- The YouTube Data API was used to fetch video data.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh