a simple way to create a graph service on node.js