Skip to content

Instantly share code, notes, and snippets.

@agustinfece
Created June 16, 2021 14:45
Embed
What would you like to do?
database.js
import { Sequelize } from 'sequelize';
const sequelize = new Sequelize('loginDB', 'root', 'YOUR_PASSWORD', {
dialect: 'mysql',
host: 'localhost',
});
export default sequelize;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment