const { Sequelize } = require("sequelize");
const config = require("./database.js").development;

const sequelize = new Sequelize(
  config.database,
  config.username,
  config.password,
  {
    host: config.host,
    dialect: config.dialect,
  },
);

module.exports = sequelize;
