require('dotenv').config();
const { Sequelize } = require('sequelize');

const config = {
  username: process.env.DB_USERNAME,
  password: process.env.DB_PASSWORD,
  database: process.env.DB_DATABASE,
  host: process.env.DB_HOST,
  port : process.env.DB_PORT,
  dialect: process.env.DB_CONNECTION || 'mysql'
};

module.exports = config;