Search Header Logo
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

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?