I need to implement a bunch of routes that do very custom / complex operations on a FeathersJS app.
One of those routes is /Category/disableExclusiveContentsOf/:id
. It runs a query against half a dozen database tables to find rows that relate to the category :id
exclusively. I absolutely cannot do that using the querying abstractions FeathersJS provides. Then, it uses FeathersJS' "local" API to update the rows I found, so that data update events are fired to clients.
However, if I implement the route using Express alone, Feathers authentication / authorization hooks won't run, so the endpoint won't be protected, which is a requirement.
How can I accommodate such things in a FeathersJS application?