using compoundjs to create node API server