summaryrefslogtreecommitdiff
path: root/src/services/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/index.ts')
-rw-r--r--src/services/index.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/services/index.ts b/src/services/index.ts
new file mode 100644
index 0000000..d35ac27
--- /dev/null
+++ b/src/services/index.ts
@@ -0,0 +1,8 @@
+import { Application } from '@feathersjs/express';
+import Products from './products/products.service';
+
+export default (app: Application): void => {
+ app.configure(Products);
+
+ app.get('/ping', (req, res) => res.send('pong'));
+};