Generic Node.js API boilerplate