Skip to content

efremropelato/PGEvent

Repository files navigation

PGEvent

Example of using pg_notify into Nodejs project

  1. Create a new test database and execute script.sql:

  2. Init a npm project:

    • add dependencies: yarn
    • build & run app: yarn build && yarn start

    or

    • dev app: yarn dev