A simple example written in node.js