github REST API v3 Crash Course with Vanilla Javascript (No dependencies)

github REST API v3 Crash Course with Vanilla Javascript (No dependencies)

35.357 Lượt nghe
github REST API v3 Crash Course with Vanilla Javascript (No dependencies)
Git hub is a social platform for developers where they can put their code, version it and collaborate. In this tutorial we will learn about the github APi, how can we use it from Javascript, we will do both public operations and private with authentication. Ill be using vanilla javascript only no libraries Here are the jump codes so you can conveniently jump to the section your excited about. Intro 00:00 Intro 00:50 Table of contents 03:47 section1 - Search repos 04:30 Code starts 06:18 nodejs server 08:50 github api code starts 13:00 query string video 23:19 section 2 - Search issues 30:48 section 3 - Search commits 41:40 lazy fetch 42:00 section 4 - Pagination 55:10 Section 5 - Authorization 01:07:00 section 6 - Creating Issues Introduction Git hub is a social platform for developers where they can put their code, version it and collaborate. In this tutorial we will learn about the github APi, how can we use it from Javascript, we will do both public operations and private with authentication. Ill be using vanilla javascript only no libraries This video is divided into 6 parts section 1 we will learn how to do a public api search on repositories section 2 we will learn how to search issues on a public repos section 3 we will learn how we search commits on a public api section 4 we will learn about pagination section 5 we will learn about authorization by searching through private issues section 6 we will learn how to create an issue Source code https://github.com/hnasr/javascript_playground/tree/master/githubtutorial Search Repos Filter repos #stars 5000 https://help.github.com/en/articles/searching-for-repositories Search Issues Issues with author https://help.github.com/en/articles/searching-issues-and-pull-requests https://api.github.com/search/issues?q=repo:freecodecamp/freecodecamp author:thecodingaviator  Search Commits Commits between two dates https://developer.github.com/v3/search/#search-commits Pagination Authorization - [ ] Basic - [ ] Token View private issues Create an Issue Stay Awesome! Hussein