So I have my actionhero actions structured where
actions/users.js has multiple actions defined on the exports object like
exports.index, exports.show, exports.create, exports.update, exports.destroy to define the RESTful action endpoints for the model.
Then I have been messing around with creating a mongoose initializer, but can't find the right place to define my mongoose model schemas and where to instantiate them. This is partly an actionhero question, and part due to my newish-ness to organizing server-side javascript.
Any help here would be greatly appreciated. Recommended patterns, or advice or what has worked for you, or what you might do.