NODE JS introduction: socket polling

This commit is contained in:
Thanakorn S
2026-05-22 17:01:59 +07:00
parent 2410f7bade
commit 9c275eb358
17 changed files with 1520 additions and 2135 deletions
+9
View File
@@ -0,0 +1,9 @@
# Node.js real-time server config
# Copy this file to .env and fill in the values
# Port the Node.js server listens on
PORT=3000
# Secret key — PHP sends this in x-emit-secret header to authenticate /emit calls
# Use a long random string in production
EMIT_SECRET=