Sails makes it fairly easy to write your own adapter. Check out the sails-boilerplate-repo to learn how