summaryrefslogtreecommitdiff
path: root/src/services/index.js
blob: e02a4b83a5f17b16946ca41c3547ade1dfc601de (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('./logs/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'));
};