Commit fed90f93 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Add database connection to app.js

parent 8b8d210b
......@@ -41,6 +41,15 @@ app.use(require('node-sass-middleware')({
}));
app.use(express.static(path.join(__dirname, 'public')));
// Configure and Initialize Database Connection
var sequelize = new Sequelize(
config.databaseName,
config.databaseUser,
config.databasePass,
config.pool
);
// Populate initial data
// TODO: convert these over to the MYSQL Section
//var populateDB = require('./setup/populateDB');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment