This project is a YouTube clone built using React and Redux Toolkit. It replicates the basic functionalities of YouTube, such as displaying videos, navigation, and watching video details. The app is fully responsive, providing a seamless user experience on both desktop and mobile devices.
- Home Page: Displays a list of videos.
- Search Functionality: Search and display relevant videos.
- Video Playback: Play videos in a video player.
- Redux State Management: Manage the app's state with Redux Toolkit.
- Responsive UI: Built with Tailwind CSS, making the design fully responsive across devices.
Here’s a breakdown of the folder structure of the project:
UTUBE
│
├── public/ # Public assets
├── src/ # Source code
│ ├── components/ # React components
│ │ ├── About.js # About page component
│ │ ├── Buttonlist.js # List of buttons for navigation or filtering
│ │ ├── Buttons.js # Individual button component
│ │ ├── Header.js # Header component with branding
│ │ ├── Home.js # Main home component
│ │ ├── MainContainer.js# Container for main content
│ │ ├── Sidebar.js # Sidebar navigation component
│ │ ├── VideoCard.js # Video card component displaying each video
│ │ ├── VideoContainer.js # Container for video cards
│ │ ├── Watch.js # Video player page component
│ │
│ ├── redux/ # Redux configuration
│ │ ├── constant.js # Redux constants
│ │ ├── slice.js # Redux slice for state management
│ │ ├── store.js # Redux store configuration
│ │
│ ├── App.css # Main CSS for styling
│ ├── App.js # Main app component
│ ├── index.css # Global styles
│ ├── index.js # Entry point for React app
│
├── tailwind.config.js # Tailwind CSS configuration
├── package.json # Project dependencies and scripts
└── README.md # Project documentation
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Ni1esh-Yadav/Utube---YouTube-Clone.git cd utube
-
Install the dependencies:
npm install
-
Start the development server:
npm run start
The app should now be running on http://localhost:3000.
- Browse Videos: On the home page, browse a list of videos in a grid layout.
- Watch Video: Click on a video to view it in the video player with additional details.
- Navigate: Use the sidebar for easy navigation.
- Search Videos: Use the search functionality to find specific videos.
- Responsive Design: Enjoy a responsive experience across different screen sizes, making it suitable for both mobile and desktop use.
- React: Front-end library for building user interfaces.
- Redux Toolkit: State management library.
- Tailwind CSS: Utility-first CSS framework for responsive design.
Website URL: https://niltube.netlify.app