Node.js API Best Practices