Node.js API backend for Squidtree