Sample of a nodejs based query engine

Implement a simple query engine based on nodejs
to access the records in MongoDB directly from the
application/visualization server instead of passing
records through the url as a base64 encoded string.
It provides a proposal on architecture although
it needs improvements to make it sustainable.