The official example template of creating a blog with Bootstrap.

Latest posts/2
Meteor, docs and attached files

You can store files directly in MongoDB documents, however there is a limit of 16MB and the Meteor DDP protocol might not be up to the task.

What follows is a description with code examples of how to do this a different way while still enforcing access rights.

My webstack

Partly to learn and partly because I like to be in control I wrote my own webserver. It started out as a very simple file server but now implements quite a few features. It also now cooperates to some degree with another project of mine, a simple templating engine.