WebSocket connection and communication with express.js end svelte
client send event to server in every second. Server store and increase the event count. Also publish the event count. Client only show the event count from ws-server
Run "npm install" command in svelte-expres-ws-example\server folder
When finished package install, you can run "node server.js" command in same directory.
You can see localhost:3000 is available.
Run "npm install" command in svelte-expres-ws-example\client folder
When finished package install, you can run "npm run dev" command in same directory.
You can see the page in localhost:5173.