I am looking for some custom aggregates and stats. I have seen the Postgres schema tables, I can get what I want using joins and queries. I am using NodeJS to connect to Postgres. Also, this server is different than my discourse server.
I need to how can I allow the Postgres port to be opened for my server to allow connection and fetch the data.