-
download of RapidAPI ext in VSCode
-
will be using Material UI --> dowload required dependencies [paper / icons / box ..etc]
-
BrouserRouter / Routes /Route usage
-
ReactPlayer for playing videos
-
Constants.js --> required @mui logos / icons
-
using useNavigate --> to navigate to other routes
-
using axios to make GET request from api
-
using RapidAPI to fetch from server
-
understanding parts of URL fetched from API
https://youtube-v31.p.rapidapi.com/search?part=snippet&q=${selectedCategory}
Means : 1) https://youtube-v31.p.rapidapi.com/ : base url 2) search : getting the endpoint form url 3) part=snippet : API should return only the snippet part of the response[ includes basic information about the search results.] 4) q=${selectedCategory} : query == selectedCategory , ie if selectedCategory == technology ; include only technology results
https://youtube-v31.p.rapidapi.com/search?channelId=${id}&part=snippet%2Cid&order=date
Means : URL-encoded TIPS : [%20 : space / %2C : comma (,)] 1) search : API endpoint 2) channelId=${id} : get the Channel whose id is as in ${id} 3) part=snippet%2Cid : we want to retrieve the "snippet" and "id" parts of the search results. ie [snippet , id] 4) order=date : order the search results by date, showing the most recent videos first.
-
using hooks such as : -useState / useEffect / useNavigate / useParams
-
Notifications
You must be signed in to change notification settings - Fork 0
neerja-1984/MeTube
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Deploying Youtube Clone using React.js
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published