TubeCore is a web application that replicates the core functionalities of YouTube, including video search, live chat, nested comments etc.
- Video Search: Search for videos using the YouTube API.
- Live Chat: Engage in real-time conversations with other users during video playback.
- Nested Comments: View and reply to comments in a nested structure, similar to YouTube.
- Debouncing: Optimized search functionality to reduce API calls using debouncing.
- Caching: Frequently searched results are cached to improve performance and reduce unnecessary API calls.
- JavaScript:
- React: For building the user interface.
- Tailwind CSS: For styling the application.
- Redux: For state management.
- YouTube API: To fetch video data and handle searches.
To get started with the project, follow these steps:
- Node.js and npm installed on your system.
- A Google API key for accessing the YouTube API.
You need to obtain a Google API key to interact with the YouTube API.
-
Clone the repository:
git clone https://github.com/sreenadh34/TubeCore.git
-
Install dependencies:
npm install
-
**Put your Google API key in src/utils/contants.jsx const GOOGLE_API_KEY = " place your api key here" **
-
Start the development server:
npm run dev
The app should now be running at http://localhost:3000.