summaryrefslogtreecommitdiff
path: root/src/services/index.js
blob: b8ef1dba8e8f3a3920c95de7b14252d572eb23d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const Users = require('./users/user.service.js');
const Events = require('./events/event.service.js');
const Auth = require('./auth/auth.service.js');

module.exports = app => {
  app.configure(Users);
  app.configure(Events);
  app.configure(Auth);

  app.get('/ping', (req, res) => res.send('pong'));
};