Getting Started with Sequelize
Learn what ORMs (Object-Relational Mappers) are, what Sequelize is, then set up a Node.js project with Sequelize and SQLite.
Chevron 6 steps
What is an ORM?
4:02
- instruction
Install and Configure Sequelize and SQLite
- instruction
Define a Model
- instruction
Test the Database
- instruction
Improve the Project Layout
ORMs Review
7 questions
Defining Models
Learn how to further define your model structures with data types, validations, default values, options, and more.
Chevron 6 steps
- instruction
Go Further with Models
- instruction
Add Validations to a Model
- instruction
Handle Validation Errors
- instruction
Use Options to Adjust Models
- instruction
Exercise: Add a Person Model
Defining Models Review
6 questions
Performing CRUD Operations
Learn the basics of CRUD operations (create, retrieve, update and delete) with Sequelize.
Chevron 7 steps
- instruction
Create a Record
- instruction
Retrieve Records
- instruction
Attributes, Operators and Ordering
- instruction
Update a Record
- instruction
Delete a Record
- instruction
Next Steps
Performing CRUD Operations Review
7 questions