Illustrates how to use a Meteor Collection Hook (more info). To test this out, you will need to do two simple things:
-
You will need to either place (or symlink) these files into the plugins directory, which lives here relative to your project root:
imports/plugins/custom/
-
You'll also need to modify
server/index.js
to import an existing Mongo collection from your parent Meteor project. Then you can modify to your heart's delight!