YouTube App is a web application designed to showcase and search YouTube videos using the YouTube API. With features like video playback, search functionality, and an interactive user interface, this app provides a streamlined experience for users looking to explore and enjoy YouTube content.
-
Video Search:
Users can search for videos by keywords and get real-time results from YouTube. -
Video Playback:
Watch videos directly within the app using an embedded player. -
Trending Videos:
Display popular and trending videos across different categories. -
Responsive UI:
The app is fully responsive and optimized for desktops, tablets, and mobile devices.
- Frontend: HTML, CSS, JavaScript, React.js for a dynamic and engaging user interface.
- API Integration: YouTube Data API for fetching video data, search results, and trending videos.
Ensure you have the following installed:
- Clone the repository:
git clone https://github.com/Rishika-108/Youtube-App.git
- Navigate to the project directory:
cd Youtube-App - Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to
http://localhost:3000.
To fetch video data, you will need a YouTube API key:
- Create a project on Google Developers Console.
- Enable the YouTube Data API v3.
- Generate an API key and add it to your environment variables.
Youtube-App/
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable React components
│ ├── pages/ # Main app pages
│ ├── styles/ # CSS files for styling
│ └── App.js # Main React component
├── .env.example # Template for environment variables
├── .gitignore # Files to ignore in version control
├── package.json # Project dependencies
└── README.md # Documentation
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Commit your changes:
git commit -m 'Add feature-name'. - Push to the branch:
git push origin feature-name. - Submit a pull request.
This project is licensed under the MIT License.