summaryrefslogtreecommitdiff
path: root/src/services/users/user.service.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/users/user.service.js')
-rw-r--r--src/services/users/user.service.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/services/users/user.service.js b/src/services/users/user.service.js
new file mode 100644
index 0000000..67f2ae6
--- /dev/null
+++ b/src/services/users/user.service.js
@@ -0,0 +1,7 @@
+const service = require('feathers-mongoose');
+const Model = require('./user.model.js');
+
+const UserService = service({ Model })
+
+module.exports = app => app.use('/users', UserService);
+