// --- Install Sequelize by running: ---
`npm install sequelize`
// --- Create a file named `sequelize_index.js` with the following content: ---
const {Sequelize, DataTypes, Model} = require('sequelize');
const sequelize = new Sequelize('database', 'username', 'password', {
dialect: 'sqlite',
storage: './restaurants-seq.sqlite'
});
module.exports={sequelize, DataTypes, Model};
/* This file contains code that would otherwise be duplicated in the
individual model classes. It sets up a connection to a SQLite database
and imports Sequelize types. You can see that it would be very easy to
specify a different type of database in the future just by changing this config */
TODO