In this video we will learn the difference between REST and GraphQL requests and why GraphQL is better in this case. We will also make a simple request to get data from GitHub API.
🚨🚨Create classic token with repo and discussion read access with no expiry.🚨🚨
In this series we will be see how GitHub can be used as a CMS for a fron-tend blog that we are going to develop.
We will be using Github discussions instead of issues in our case as the Content Management System(CMS).
Every new discussion added will be a new blog post.
🐙 GitHub Explorer - docs.github.com/en/graphql/ov...
🗃️ Source code - github.com/sharu725/github-cms
🐦 Follow me - / @webjeda
🌐 Visit my website - blog.webjeda.com
#sveltekit #github #cms #graphql #api #fetch
Негізгі бет Svetlekit blog - Fetch Data from GitHub API - REST vs GraphQL
Пікірлер: 5