This is an online video sharing website similar to YouTube, built with React, Material-UI, and Rapid API for video content. Users can search for videos, select categories, and enjoy video content hosted on the platform.
-
Video Search: Users can search for videos using keywords. Rapid API fetches relevant video content for users.
-
Video Categories: Users can choose from a selection of categories to explore different video topics, similar to YouTube's categories.
-
Video Playback: Users can watch videos directly on the website.
-
Frontend:
- React
- Material-UI for styling
- Axios for making API requests
-
Backend:
- Rapid API for video content
- Firebase for deployment and hosting
-
Clone this repository to your local machine.
-
Install project dependencies by running:
npm install
-
Create a .env file in the project root directory to store API keys, for example:
REACT_APP_RAPID_API_KEY=your-rapid-api-key
-
Start the development server:
npm start
-
Visit http://localhost:3000 in your web browser.
-
Enter a search query in the search bar to find videos on your desired topic.
-
Use the category section to explore videos by predefined categories.
-
Click on a video to watch it.
This project is deployed on Firebase. To deploy your own instance, you can follow these steps:
Set up a Firebase project and configure it for web hosting.
- npm run build
- firebase deploy