Join our free community Discord server here!
Don't have a portfolio? Create one in our new workshop using React!
Learn React with us!
Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰
🤖 Check out all our AI content here 👀
Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Now it's time to start creating related data using our Movie and Person models.
To set a director on a Movie record, we first need to create the Person records. This is necessary because each Person model instance id value must be available before attempting to set the Movie model directorPersonId foreign key property.
At the top of the app.js file, we declare the Person and `...