diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-06-09 14:26:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 14:26:22 +0300 |
commit | bd36aeb53d04a13167925ecd4d5d73ed2ad09914 (patch) | |
tree | 5bc0a1e78cf72c6e1ae48f5ee3954511748c81b1 /services/users/users.service.ts | |
parent | abe7c3220c40031b9adecf9b27ab7141b7d3f736 (diff) | |
parent | e9d0438f6c02664c652a593c686564361fa0de6b (diff) | |
download | which-api-bd36aeb53d04a13167925ecd4d5d73ed2ad09914.tar.gz |
Merge pull request #2 from eug-vs/refactor
Structurize feathers app
Diffstat (limited to 'services/users/users.service.ts')
-rw-r--r-- | services/users/users.service.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/users/users.service.ts b/services/users/users.service.ts new file mode 100644 index 0000000..bf608fe --- /dev/null +++ b/services/users/users.service.ts @@ -0,0 +1,7 @@ +import { Application } from '@feathersjs/express'; +import Users from './users.class'; + +export default (app: Application): void => { + app.use('/users', new Users()); +}; + |