node.js rest api example with integration tests and postgres