Sample nodejs api server script