-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
42 lines (37 loc) · 1.14 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
let logger = require('./lib/logger/logger');
let errors = require('./lib/errors/errors');
let errorHandler = require('./lib/middlewares/error-handler');
let main = require('./lib/middlewares/main');
let request = require('./lib/request/json');
let requestBody = require('./lib/request/body');
let mongo = require('./lib/services/mongo/database');
let middlewares = require('./lib/middlewares');
let auth = require('./lib/middlewares/auth');
let schema = require('./lib/mom/schema');
let init = require('./lib/server/start');
/*
the ypsilon internal calls
*/
let userService = require('./lib/services/ypsilon/users');
let appointmentService = require('./lib/services/ypsilon/appointments');
let abstracterService = require('./lib/services/ypsilon/abstracter');
let checkfrontService = require('./lib/services/ypsilon/checkfront');
let bluebearService = require('./lib/services/ypsilon/bluebear');
module.exports = {
init,
auth,
middlewares,
logger,
errors,
errorHandler,
main,
request,
requestBody,
mongo,
userService,
appointmentService,
abstracterService,
checkfrontService,
bluebearService,
schema
};