Not everything in our UI has to be dependent on Mongo collections. We can, in fact, use pretty much any reactive object inside our templates, and changes will appear instantly. This recipe will quickly show you how to use custom collections to populate and update UI templates.
Let's start with a base Meteor project and add the bootstrap
and reactive-var
packages. In a terminal window, navigate to where you would like your project to reside and enter the following commands:
$ meteor create mongoless $ cd mongoless $ meteor add twbs:bootstrap $ meteor add reactive-var $ meteor
Finally, open a browser and navigate to http://localhost:3000
so that you can see updates in real time.