Skip to content

Case study · Tuwaiq Academy

YouTube Clone

A YouTube clone on the YouTube Data API: sign up, browse popular videos by category and watch them with comments and suggestions.

My role
Built it alone
Team
Solo
Timeline
Oct 2024, 2 days
Context
Tuwaiq Academy
Platform
React app on Netlify
YouTube Clone: the video grid on the home page and a video playing on the watch page
Fig. 01 · YouTube Clone: the video grid on the home page and a video playing on the watch page

01 Overview

A clone of YouTube's home and watch pages on the YouTube Data API: the most popular videos by category, a watch page with the video's details and comments, and suggestions from the same category.

02 Problem

A Tuwaiq Academy exercise in working with a real third-party API, its keys and its quotas.

03 My role

I built all of it: the home feed by category, the watch page with comments and suggestions, search and sign-up.

Frontend
ReactViteTailwind CSSdaisyUIReact RouterJavaScriptCSSHTML
Data
AxiosYouTube Data API
Tooling and hosting
ESLintGitGitHubNetlify

04 Key decisions

Suggestions by category

What we chose

The watch page asks the YouTube Data API for the most popular videos in the same category

Why

No recommendation engine or watch history needed: YouTube's own ranking does the work.

Trade-off

Everyone sees the same suggestions, set to the US region in the code, not picked for the person.

05 Result

Built in October 2024 and live on Netlify.

What I learned

Building on the YouTube Data API taught me to integrate a public API following best practices.

With thanks to

Next project: Booksfiy

Browse the New York Times best sellers, save favorites to lists and open any book on Amazon.

Questions

Want to Go Deeper on YouTube Clone? I’m Happy to Walk You Through It.

Email me