diff options
Diffstat (limited to 'services/users/user.service.js')
-rw-r--r-- | services/users/user.service.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/users/user.service.js b/services/users/user.service.js new file mode 100644 index 0000000..67f2ae6 --- /dev/null +++ b/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); + |