blob: 47dac3d6569c6948568a21bc22f57452e3353d29 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { Application } from '@feathersjs/express';
import Model from '../../models/users/user.model';
import service from 'feathers-mongoose';
const UserService = service({ Model });
export default (app: Application): void => {
app.use('/users', UserService);
};
|