Nodejs, delivery system, SPA implementing RESTful API on Express