This is a Youtube clone built with React, Material UI, and React-Player. It has search functionality, categories, and the ability to save videos to watch later and to playlist. It uses RapidAPI to fetch video data.
Search Functionality: Users can search for videos using keywords.
Categories: Users can browse videos by categories.
Save to Watch Later: Users can save videos to watch later.
Save Playlist: Users can create and save playlists.
Video Player: Users can watch videos using the React-Player.
The following technologies were used to build this YouTube clone:
Material UI: A popular React UI framework that helps in building responsive and beautiful web applications.
React: A JavaScript library for building user interfaces.
React-Player: A React component for playing videos using YouTube.
Rapid API: An API marketplace that provides access to a wide range of APIs.
TypeScript: A strongly typed programming language that helps in writing more maintainable and scalable code.
React-Toastify:React-Toastify allows you to add notifications to your app with ease.
To get started with this project, follow these steps:
-
Clone this repository using git clone https://github.com/NidhiSharma63/youtube-clone.git.
-
Install the required dependencies using
npm install --legacy-peer-deps
. -
Sign up for Rapid API and obtain an API key for the YouTube API.
-
Create a
.env
file in the root directory of the project and add the following:
REACT_APP_RAPID_API_KEY
- Start the development server using npm start.