API server for node.js