Mongoose is such a brilliant library right? If I was writing something in nodejs - the existence of mongoose itself would justify simply going for a mongodb backend.
Unfortunately, Mongoose cannot query Postgres instead of Mongo. It's a wrapper around the native Node Mongo driver and does not incorporate a database abstraction layer.