2018-03-29 02:35:41 +02:00
|
|
|
const api = require('./server/routes/api/');
|
|
|
|
const asset = require('./server/routes/asset/');
|
2018-03-29 07:06:08 +02:00
|
|
|
const auth = require('./server/routes/auth/');
|
2018-03-29 18:48:32 +02:00
|
|
|
const fallback = require('./server/routes/fallback');
|
2018-03-27 21:32:07 +02:00
|
|
|
const logger = require('./config/loggerConfig.js');
|
2018-03-28 01:08:01 +02:00
|
|
|
const mysql = require('./config/mysqlConfig');
|
|
|
|
const site = require('./config/siteConfig');
|
2018-03-27 21:32:07 +02:00
|
|
|
const slack = require('./config/slackConfig.js');
|
2018-03-28 01:08:01 +02:00
|
|
|
const passport = require('./server/passport/');
|
2018-03-28 03:25:23 +02:00
|
|
|
const models = require('./server/models/');
|
|
|
|
// const Components = require('./client/components');
|
2018-03-20 23:57:24 +01:00
|
|
|
|
|
|
|
const exports = {
|
2018-03-28 01:08:01 +02:00
|
|
|
logger,
|
2018-03-29 02:35:41 +02:00
|
|
|
models,
|
2018-03-28 01:08:01 +02:00
|
|
|
mysql,
|
2018-03-29 02:35:41 +02:00
|
|
|
passport,
|
2018-03-28 01:08:01 +02:00
|
|
|
site,
|
|
|
|
slack,
|
2018-03-29 02:35:41 +02:00
|
|
|
routes: {
|
|
|
|
api,
|
|
|
|
asset,
|
2018-03-29 07:06:08 +02:00
|
|
|
auth,
|
2018-03-29 18:48:32 +02:00
|
|
|
fallback,
|
2018-03-29 02:35:41 +02:00
|
|
|
},
|
2018-03-28 03:25:23 +02:00
|
|
|
// Components,
|
2018-03-20 23:57:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = exports;
|