if create a directory named
client
that goes only to client.if you create a directory named
server
that goes only to server.every thing else you code goes to client and server both. (even ifyou use
Meteor.isServer
check)
you can read more about directory structure here.