Building GraphQL Applications in Laravel
45mIntermediate2022-10-06
Authors

Rasheeda Yehuza
Senior Software Engineer
Course details
GraphQL is a query language for APIs that provides a complete and understandable description of the data in your API and makes it easier to evolve APIs over time. GraphQL lets you ask for what you want in a single query by enabling clients to request their own unique data specifications, saves bandwidth, and reduces waterfall requests. In this course, Rasheeda Yehuza shows you how to set up a GraphQL in Laravel (PHP) using Lighthouse to query data. She also explains why GraphQL is important in the current age of API development and shows how to implement a GraphQL API on the users table and model that comes with Laravel.
Skills covered
LaravelBack-End Web DevelopmentFull-Stack Web DevelopmentWeb DevelopmentProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Build GraphQL apps in Laravel
1. Understanding GraphQL
- 02 - What is GraphQL
- 03 - GraphQL versus REST
- 04 - Why GraphQL
2. Introduction to GraphQL Schemas and Types
- 05 - The type system
- 06 - The object types and fields
- 07 - The query and mutation types
- 08 - The scalar type
- 09 - The enum type
3. Development Environment Setup
- 10 - Prerequisite and development environment checklist
- 11 - Setting up Laravel
- 12 - Setting up a database with users
- 13 - Setting up Lighthouse
- 14 - A Hello World GraphQL endpoint
4. GraphQL Queries
- 15 - Diving into GraphQL queries with Lighthouse
- 16 - Querying fields in GraphQL
- 17 - Querying with arguments
- 18 - Querying with aliases
- 19 - Using the Lighthouse paginate directive
5. GraphQL Mutations
- 20 - Diving into GraphQL mutations with Lighthouse
- 21 - Creating a user
- 22 - Updating a user
- 23 - Deleting a user
Conclusion
- 24 - Exploring more Lighthouse and GraphQL functionalities