Skip to content

Commit

Permalink
Merge pull request Kritika30032002#245 from JiyaGupta-cs/hex
Browse files Browse the repository at this point in the history
feat: Added Youtube Clone
  • Loading branch information
Kritika30032002 authored Feb 2, 2024
2 parents 7358547 + 99e0027 commit 5ec1a1c
Show file tree
Hide file tree
Showing 124 changed files with 44,406 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Youtube Clone/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# note
/note

# screenshots for my reference
/screenshots

# For experiment only
TestHeader.jsx

# API key
.env

# system config for intellisense speed
jsconfig.json

# Rewrite my own provider/ maxin later to replace AppProvider
AppStylesProvider.js
src/components/ChipsBar/failedStyling.js
56 changes: 56 additions & 0 deletions Youtube Clone/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# React YouTube clone

## Demo of this app:

![demo-gif](./readme_assets/youtube-clone-demo.gif)


## Mobile view search function demo
![mobile-search-demo](./readme_assets/mobile-search-demo.gif)

## What does this app do?

- It is a clone of YouTube HomePage and SearchPage.
- HomePage displays the most popular videos of the selected country by querying data from the YouTube API.
- HomePage utilizes infinite-scroll feature, so new videos thumbnails will load when the user keeps scrolling down the page.
- Typing a word and clicking on search does a real search on YouTube API, 25 results are displayed on the SearchPage.

## What is this project about?

- This is mainly a material-ui and styled-components learning project. I aimed at making the website look as close to the original YouTube as possible.
- This project ends up turning into a state and complexity management exercise too because as the project progressed, I realized it is much bigger than I thought.

## Techstack?

- react.js (create-react-app)
- react-router
- axios
- styled-components
- Material-UI v4

## Setup Instructions

Install node requirements

```bash
npm i
```
Run the development server with

```bash
npm start
```
You'll see output like this
```bash
Compiled successfully!

You can now view the app in the browser.

Local: http://localhost:3000
On Your Network: http://192.168.30.171:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

webpack compiled successfully
```
Loading

0 comments on commit 5ec1a1c

Please sign in to comment.