A clone of YouTube developed using React, Tailwind CSS, and Material-UI, replicating core functionalities such as video playback and search capabilities. It leverages the YouTube API to fetch video details and provides a responsive user interface.
To install the project, run:
npm install
Before running the project, create a .env
file in the root directory and add your YouTube API key:
REACT_APP_RAPID_API_KEY='put rapid api youtube v3 key here'
In the project directory, you can run:
-
Start the app:
npm start
This runs the app in development mode. Open http://localhost:3000 to view it in your browser.
-
Run tests:
npm test
Launches the test runner in interactive watch mode.
-
Build the app:
npm run build
Builds the app for production, optimizing for best performance.
Feel free to fork the repository and submit pull requests.