Too Long; Didn't Read
When building an <a href="https://hackernoon.com/tagged/api" target="_blank">API</a> with <a href="https://hackernoon.com/tagged/node" target="_blank">Node</a>, Express and MongoDB you can choose Mongoose as your ODM. Mongoose helps you to easily do CRUD operations. When your API grows, usually the amount of models grow and therefore also the amount of express routes grow. In a lot of cases those routes just do simple create, read, update or delete operations. If those routes do not contain any other logic it would be nice if we can just forward the request to a reusable shared function which takes care of the request, right?