A typical way to build APIs is REST, but in recent years a new approach became popular - GraphQL. It's more flexible to the front-end clients, and in this course, we will learn how it works, how to build a GraphQL server with the Lighthouse package, and how to use it from the Vue.js Apollo client. Both repositories will be available on Github.
Prerequisites: Laravel knowledge. Vue.js knowledge would be beneficial (but not necessary).
This course is a very quick way to start using GraphQL in your applications. Will you join me?
I consider myself a Laravel expert. Work with Laravel for around 6 years, sharing my thoughts on the YouTube channel "Laravel Daily": https://www.youtube.com/channel/UCTuplgOBi6tJIlesI...
I also have written a Laravel Daily Blog for 5+ years.
PreviewWhat is GraphQL: Benefits over REST API (6:16)
PreviewOur First GraphQL Query: Get All Users from Playground or Postman (4:28)
StartObject Types, Queries and Lighthouse Directives (6:30)
StartRelationships belongsTo/hasMany and Separate .graphql Files (6:35)
StartUseful Lighthouse Directives Overview (4:31)
StartPagination and Simple Pagination (4:19)
StartMutations: Create/Update/Delete Data with Validation (4:53)