forked from Kritika30032002/ReactCreations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Kritika30032002#245 from JiyaGupta-cs/hex
feat: Added Youtube Clone
- Loading branch information
Showing
124 changed files
with
44,406 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Oops, something went wrong.