Getting started with Sequelize
Objectives
- Identify an ORM
- Weigh pros and cons between ORMs and raw SQL queries
- Use the Sequelize CLI to create and migrate models
- Utilize Sequelize to create, find, and delete database records
- Comprehend the purpose of promises and their use in Sequelize
We learned the basics about relational databases (PostgreSQL) and used SQL to query from databases. Now, we're going to incorporate a relational databse into an Express application. But first, some terminology.