summaryrefslogtreecommitdiff
path: root/src/services/index.ts
blob: 9b3511be358cc796640138341768e2e18c7c9917 (plain)
1
2
3
4
5
6
7
8
9
10
import { Application } from '@feathersjs/express';
import Products from './products.service';
import Contractors from './contractors.service';

export default (app: Application): void => {
  app.configure(Products);
  app.configure(Contractors);

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