Web application containing rest server in node.js express and frontend in flask with jade