The Complete Strapi™ Course with Plugins and Deployment - Post Likes: Part 2

The Complete Strapi™ Course with Plugins and Deployment - Post Likes: Part 2

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to add logic to a controller action to update a post with a new like using a custom service. It covers creating the service, handling query parameters, fetching and updating post relations, and testing the implementation with different users. The tutorial emphasizes the importance of managing query strings and ensuring proper authorization for fetching related entities.

Read more

4 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What steps are involved in logging in a user to like a post?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the role of the JWT token in the process of liking a post?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you ensure that the liked by relation is populated in the API response?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What happens if a user tries to like a post more than once?

Evaluate responses using AI:

OFF