What is the best practice for where to place the directives for publishing data?

Is there a best pratice (or one that one will eventually end up in anyway) for where to place the directives for publishing data with Meteor.publish() within the server folder?

I usually do server/publications/collectionName.js. That way you have all of your publications in the same folder and you can find them easily based on what collection you are looking for.

1 Like