diff options
Diffstat (limited to 'src/services/index.js')
-rw-r--r-- | src/services/index.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/services/index.js b/src/services/index.js new file mode 100644 index 0000000..f2d65d0 --- /dev/null +++ b/src/services/index.js @@ -0,0 +1,10 @@ +const Users = require('./users/user.service.js'); +const Events = require('./events/event.service.js'); + +module.exports = app => { + app.configure(Users); + app.configure(Events); + + app.get('/ping', (req, res) => res.send('pong')); +}; + |