/demoWebWS

Web Sockets / web workers simple demo in Nim

Primary LanguageNim

This is a simple test for Web Workers and WebSockets in nim 

It needs karax to render the front end and websocket.nim to compile the server

https://github.com/pragmagic/karax
https://github.com/niv/websocket.nim

Start a web server to serve the static content:

$ python3 -m http.server 5000

and then 

$ sh ./run.sh

It will compile the client front end with karax,
the client back end wrapping webSockets
and the server, listening for sockets on port 8080