summaryrefslogtreecommitdiff
path: root/src/services/index.ts
blob: dd1591c009baad8790fc6bb2b703f9452d2ab423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Application } from '@feathersjs/express';
import Products from './products.service';
import Contractors from './contractors.service';
import Waybills from './waybills.service';
import Spreadsheets from './spreadsheets.service';

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

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