Skip to content

hari7261/Youtube-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎥 YouTube Clone

A sleek, modern, and fully functional YouTube Clone built with React, Material-UI, and powered by RapidAPI for YouTube data. Dive in and explore a minimalistic yet powerful video streaming experience.

🚀 Live Demo: Simple YouTube Clone

🔗 GitHub Repository: GitHub

image


🛠 Features

  • Search videos with real-time suggestions 🔍
  • Watch videos with an embedded video player 🎥
  • Responsive design for mobile, tablet, and desktop 📱💻
  • Modern UI built with Material-UI 🎨

🔧 Tech Stack

Technology Purpose
React Frontend Framework
Material-UI Styling and UI Components
Axios API Requests
React Router Navigation
React Player Embedding Video Player

📦 Dependencies

Here’s a list of the major dependencies used in this project:

{
  "@emotion/react": "^11.10.0",
  "@emotion/styled": "^11.10.0",
  "@mui/icons-material": "^5.8.4",
  "@mui/material": "^5.9.3",
  "axios": "^0.27.2",
  "react": "^18.2.0",
  "react-dom": "^18.2.0",
  "react-player": "^2.10.1",
  "react-router-dom": "^6.3.0",
  "react-scripts": "^5.0.1"
}

🌐 API Integration

This project uses RapidAPI's YouTube API to fetch:

  • Video details
  • Search results
  • Related videos

Get your API key from RapidAPI YouTube and add it to your .env file:

REACT_APP_YOUTUBE_API_KEY=your_api_key_here

🖥️ Installation & Setup

Follow these steps to get started:

  1. Clone the repository:

    git clone https://github.com/hari7261/Youtube-Clone.git
    cd Youtube-Clone
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file in the root directory.
    • Add your RapidAPI YouTube API key as shown above.
  4. Start the development server:

    npm start
  5. Access the app: Open your browser and navigate to http://localhost:3000.


🖼️ Screenshots

🎬 Home Page

image

🔍 Search Results

image

🎥 Video Player

image


📂 Folder Structure

.
├── public
├── src
│   ├── components   # Reusable components (Navbar, Sidebar, etc.)
│   ├── pages        # Main pages (Home, VideoDetail, etc.)
│   ├── utils        # Utility functions (API calls, constants)
│   ├── App.js       # Main App component
│   └── index.js     # Entry point
└── .env             # API key configuration

🛡️ License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as you wish.


Made with ❤️ by Hari7261


SVG YouTube Logo

Releases

No releases published

Packages

 
 
 

Contributors