PGEvent Example of using pg_notify into Nodejs project Create a new test database and execute script.sql: Init a npm project: add dependencies: yarn build & run app: yarn build && yarn start or dev app: yarn dev