diff options
author | eug-vs <eug-vs@keemail.me> | 2020-11-14 14:56:12 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-11-14 14:56:12 +0300 |
commit | fd3efcdec584d550f70fb473386e01086e8238e0 (patch) | |
tree | d5019e835f70fd70fe6825704e8aa7c010ed8ce3 /services/users/user.service.js | |
parent | 87306ea2e4ffad7b8c588da0423ecf199575ac9c (diff) | |
download | bsu-fantom-fd3efcdec584d550f70fb473386e01086e8238e0.tar.gz |
feat: add Users and Events services
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); + |