The Complete Strapi™ Course with Plugins and Deployment - The GraphQL Plugin and How It Works

The Complete Strapi™ Course with Plugins and Deployment - The GraphQL Plugin and How It Works

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explores the GraphQL API in Strapi, focusing on how to extend it similarly to the REST API. It explains the Strapi GraphQL plugin, based on Apollo Server and Nexus, and how to define schemas using JavaScript or TypeScript. The tutorial highlights the differences between GraphQL and REST APIs, such as having a single endpoint and using resolvers instead of controllers. It also covers implementing POST functionality in GraphQL and discusses the GraphQL flow, including types, resolvers, and middleware.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the foundation of the Strappy GraphQL plugin?

Express and Sequelize

Spring Boot and Hibernate

Apollo Server and Nexus

Django and Flask

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a GraphQL API differ from a REST API in terms of endpoints?

GraphQL uses a single endpoint, while REST uses multiple endpoints.

Both GraphQL and REST use a single endpoint.

GraphQL uses multiple endpoints, while REST uses a single endpoint.

Both GraphQL and REST use multiple endpoints.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In GraphQL, what replaces controllers in handling requests?

Resolvers

Routers

Middlewares

Services

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are data models called in the GraphQL world?

Types

Entities

Schemas

Collections

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of underlying services in GraphQL resolvers?

To handle HTTP requests

To define the GraphQL schema

To manage user authentication

To perform operations like fetching data