aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index 2a8636f..38dc6dc 100644
--- a/src/app.js
+++ b/src/app.js
@@ -16,6 +16,10 @@ const services = require('./services');
const appHooks = require('./app.hooks');
const channels = require('./channels');
+const sequelize = require('./sequelize');
+
+const authentication = require('./authentication');
+
const app = express(feathers());
// Load app configuration
@@ -34,8 +38,11 @@ app.use('/', express.static(app.get('public')));
app.configure(express.rest());
app.configure(socketio());
+app.configure(sequelize);
+
// Configure other middleware (see `middleware/index.js`)
app.configure(middleware);
+app.configure(authentication);
// Set up our services (see `services/index.js`)
app.configure(services);
// Set up event channels (see channels.js)