In Sail.js a hook is a Node module that adds functionality to the Sails core and also defines the re ...