Hi there! If you’re just learning how to use Sequelize and found this article, hopefully I can get you started with a simple walkthrough! Please continue assuming you are familiar with using Node.js/Express and SQL using PostgreSQL as we will be using examples of these down further.
Now, what is Sequelize? If we grab the definition right out of the documentation… Sequelize is a promise-based ORM for Node.js v4 and up. It supports the dialects PostgreSQL, MySQL, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
Software Engineer based in NYC