Application running on node server instead of static files, connecting to database via REST