Skip to content

kelajatu/youtube-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

224 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Clone React

A Youtube-like application built in React. This leverages the Youtube data API v3 and includes initial render of latest videos, watch container with related videos, and search functionality.

Site YouTube Clone

Screenshots

UI-wise this application looks almost exactly like the original Youtube application

It uses real data by leveraging the Youtube Data API v3.

Youtube in React Home feed

Youtube in React Watch-1

Youtube in React Watch-2

Running the application

This application loads information using the Youtube Data API v3.

To use it, you need to set up a Youtube Data v3 API key and run the project with npm or yarn.

Below is a step by step process

Getting Youtube Data API key

  1. Head over to the Google developers console
  2. Create a new project by clicking on Select project drop down right next to the logo. Click the New Project button an give it a speaking name.
  3. Select your project by choosing it in the Select Dropdown directly next to the logo in the header.
  4. Click the Enable APIs and Services button
  5. Search for youtube data
  6. Click on the Youtube Data API v3
  7. Click the blue enable button
  8. In the dashboard, click Credentials on the left sidebar
  9. Click the Create Credential button
  10. Which API are you using: Youtube Data API v3
  11. Where will you be calling the API from: Web browser
  12. What data are you accessing: Public data
  13. Click the What credentials do I need button
  14. Copy the API key, and paste it into src/App.js
const API_KEY = 'AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

Installing dependencies

Install the dependencies by running

npm install

If you are using yarn, please run

yarn install

Running the application

To run the application, execute:

npm start

or with yarn

yarn start

Tests

This project contains an extensive suite of tests comprised of Jest and Enzyme. Run all tests by executing:

npm test

You can also use yarn to run the tests

yarn test

Features

This application includes the major features of Youtube such as:

  • Home feed with infinite scroll
  • Trending videos
  • Searching for videos
  • Watching videos
  • Displaying comments and video details

Technologies

License

MIT

Portfolio jurgenkela.com GitHub @kelajatu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published