Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed Data Relationships with SQL and Sequelize!

Instruction

Connect to the Database

Now we're ready to connect to our database! The app.js file is the entry point into the application. Within this file, we will use the Sequelize models to create and retrieve data from the database. Let's review this file to understand the overall behavior of the application. Review the app.js File At the very top of the file, we declare the sequelize and models variables and initialize the...