
- JavaScript
- Intermediate
About this Course
As you follow along in this course, you'll define data relationships for a simple Node application that creates and retrieves movie data. You'll define data relationships in Sequelize models, and create related data (like Movie and Person records) using those models. Then you'll retrieve related data with Sequelize queries.
Understand Data Relationships
Explore data relationships in a SQL Database, why they're useful, and the different types of relationships.
5 stepsData Relationships in Sequelize
Create data relationships using Sequelize by updating a small Node.js application.
7 stepsCreate Related Data Using Sequelize Models
Start creating related data and begin interacting with your database by adding seed data.
5 stepsRetrieve Related Data in Sequelize Queries
Retrieve related data via a single query method call, learn ways to convey the relationship between your data, and how defining a data relationship from both models' point of view gives you flexibility in retrieving data.
5 stepsTeachers
-
Guil Hernandez
Guil is a Full Stack JavaScript and Front End Web Development instructor.
-
James Churchill
Before joining the Treehouse team, James worked as a consultant for over 10 years doing web development using .NET and variety of open source technologies. James enjoys participating in the developer community, presenting at and attending meetups, code camps, and conferences. When not working, James enjoys learning, skiing, playing music, and watching movies.