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

Practice Problem

Hard

Created by

Wayground 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

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?