connect to postgres sequelize code example
Example 1: new Sequelize('featherstutorial', 'databaseUser', 'databasePassword'
var sequelize = new Sequelize('database', 'username', 'password', {
host: "my.server.tld",
port: 12345
})
Example 2: new Sequelize('featherstutorial', 'databaseUser', 'databasePassword'
var sequelize = new Sequelize('database', 'username'[, 'password'])