The Complete Strapi™ Course with Plugins and Deployment - Lifecycle Hooks Exercise: Part 1 (Challenge)

The Complete Strapi™ Course with Plugins and Deployment - Lifecycle Hooks Exercise: Part 1 (Challenge)

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial addresses an issue in a blog application where the API does not return post authors due to admin users being private by default. To solve this, a new Author content type is created, mirroring admin users but not private. Lifecycle hooks are used to automatically sync admin users with authors and assign authors to posts. The tutorial provides a step-by-step guide and an exercise to implement this solution.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What fields should be included in the new Author content type?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What relation needs to be established between the Author content type and admin users?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What steps should be taken to ensure the Author's relation field of posts points to the new Author collection?

Evaluate responses using AI:

OFF