Course

Create a Review - Exercise

In the previous exercise, you learned how to create a new Product. In this exercise, you will create a new Review record.

Exercise

  1. Create a new function inside reviews.ts in the directory.
  2. Name it and follow the steps from the previous exercise to create a new Review record.
  3. Integrate the new function into the file.

Tips

  • Identify the arguments your new function will need by looking at the schema
  • Review the previous lesson to get the correct syntax for your new function

Spend up to 20 minutes to complete this exercise, this is a tough one, and we haven't covered all the necessary concepts yet. But giving it a try and attempting to find the solution is a great way to learn and get familiar with the documentation.

If you get truly stuck, you can check the solution in the Next Lesson, and we'll walk you through the process of creating a new Review record.

0 Comments

"Please login to view comments"

glass-bbok

Join the Conversation!

Subscribing gives you access to the comments so you can share your ideas, ask questions, and connect with others.

Upgrade your account
tick-guideNext Lesson

Create a Review - Solution