export FooData now, on either client or server, you can import FooData: import FooData from /imports/api/foo/Foo and FooData is available to your JS code. In Meteor, any resouce file (jpeg, gif, txt, json, etc.) that you wish to make available to the client side must be placed in top level folder I had an issue with meteor.js. As written in documentation, lib folder is loading first of all, in fact, a bit not like that :C. So, my project is running succesfully, but js code is not executing automatically README.md. Folder-Skeleton for Meteor.js. With explanation and processing-order of files.client/compatibility/.js being loaded into global scope of client. .css. .html -> scan for head, body, template. Warning the content of the output folder will be deleted before building the new output! So dont do things like meteor-build-client /home!aeca2a21c383327235a08d55994243a9f478ed57.js. (other files from your "public" folder). I tried to copy and paste my .js in the .meteor/local/build/programs/ client or .