Back end started from example code provided by actix: https://github.com/actix/examples/tree/master/websocket-chat
Front end started from: https://github.com/martimatix/crystal-elm-chat
- If you modify app/src/chat.elm, recompile with
elm make src/chat.elm --output=chat.js
from inside the 'app' directory
- Run WebSocket server with
cargo run
- Navigate to port printed by server