Postgresql broadcaster via websockets.
-
Server:
npm i
-
Client:
npm i
-
Postgresql
Create tables, triggers, and notifications as in the example
-
Run server:
npm run dev
ornode index.js
-
Client
Node client: node client.js
Python client: python3 client.py
- Insert row to table
INSERT INTO http_response(ts, node_tag, src_ip, src_port, code) VALUES ('2024-03-26 14:19:20','1','192.168.11.237','4000','404');