aboutsummaryrefslogtreecommitdiff
path: root/services/index.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-09 14:16:15 +0300
committereug-vs <eug-vs@keemail.me>2020-06-09 14:16:15 +0300
commite9d0438f6c02664c652a593c686564361fa0de6b (patch)
tree5bc0a1e78cf72c6e1ae48f5ee3954511748c81b1 /services/index.ts
parent24f0d8709fc5e90a92d9c3940e693f76cd653bf4 (diff)
downloadwhich-api-e9d0438f6c02664c652a593c686564361fa0de6b.tar.gz
refactor: structurize feathers app
Diffstat (limited to 'services/index.ts')
-rw-r--r--services/index.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/services/index.ts b/services/index.ts
new file mode 100644
index 0000000..eeaf485
--- /dev/null
+++ b/services/index.ts
@@ -0,0 +1,8 @@
+import Users from './users/users.service';
+import Polls from './polls/polls.service';
+
+export default (app: Application): void => {
+ app.configure(Users);
+ app.configure(Polls);
+};
+