Example of how to use tingodb on a node-webkit application