aboutsummaryrefslogtreecommitdiff
path: root/services/polls/polls.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'services/polls/polls.service.ts')
-rw-r--r--services/polls/polls.service.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/polls/polls.service.ts b/services/polls/polls.service.ts
new file mode 100644
index 0000000..a4bd816
--- /dev/null
+++ b/services/polls/polls.service.ts
@@ -0,0 +1,7 @@
+import { Application } from '@feathersjs/express';
+import Polls from './polls.class';
+
+export default (app: Application): void => {
+ app.use('/polls', new Polls());
+};
+