logo
Course

Creating Models and Actions: Exercise

In the previous lesson, we learned how to create a basic model and how to create a server action to use it. In this exercise- take a moment to practice this skill. This isn't a project- it's just a simple exercise to help you get more comfortable with creating models and actions. So feel free to experiment and try new things. ## Instructions 1. Expand on the User model. Add new fields to the model. 2. Create another model in the models folder. Call it Post .

The rest of this lesson is waiting.
Join JS Mastery Pro to unlock it.

gsap
javascript
nextjs
react native
threejs

Get Full Access

$149 /month

Lock in a year & save—2 months free!

  • Access to all courses

  • Quizzes, mini-challenges, AI summaries, inline sandboxes

  • Participation in a private community

  • Build real production-grade apps

  • Mock interviews & project reviews

  • Weekly live sessions & member-only access