blob: c7a6cc5077779079dd46ed73e99d51bffc5a2d5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
const Users = require('./users/user.service.js');
const Events = require('./events/event.service.js');
const Logs = require('./events/log.service.js');
const Auth = require('./auth/auth.service.js');
module.exports = app => {
app.configure(Users);
app.configure(Events);
app.configure(Logs);
app.configure(Auth);
app.get('/ping', (req, res) => res.send('pong'));
};
|