GraphQL Plugin Queries & Mutations (CRUD) 🚀 Strapi Course #8

preview_player
Показать описание
This video is an introduction to basic GraphQL concepts and a full walkthrough demo for the Strapi Headless CMS GraphQL plugin. I demonstrate how to install the GraphQL plugin in Strapi and then write queries in the GraphQL playground to retrieve a collection of entities (and their fields) and single items. I show the filter, sort and pagination capabilities of the GraphQL queries in Strapi. I also demonstrate how to Create, Update and Delete items covering the entire CRUD operations spectrum with GraphQL mutations for Create/Update/Delete ops.

GraphQL API - Strapi Docs:

GraphQL Plugin - Strapi Docs:

Contents:
0:00 Introduction
0:18 What is GraphQL?
0:51 Query Example
1:50 GraphQL Fundamentals
3:49 Installing the Strapi GraphQL Plugin
5:59 Retrieving Collections with a Query
9:40 Retrieve a Single Item with a Query
10:19 Filters
12:23 Sorting
13:21 Pagination
14:22 Create a Record with a Mutation
16:20 Update a Record with a Mutation
17:21 Delete a Record with a Mutation
17:50 Short Summary of the Demo so Far
18:05 Remarks on Client Usage
19:49 Conclusion

Social Media:

#strapi #course #graphql #headless #cms
Рекомендации по теме