I am working on a server in Node.js that uses node-postgres database client. I am trying to follow the 3 layer architecture (controllers, services, mod