Hi everyone! I just wrote an example of a full web application (client and server with build tools etc) that uses an Elm 0.19 client speaking to a Node.js webserver using socket.io-based websockets: https://github.com/matthewsj/elm-socketio
This example is pretty small but demonstrates a bunch of things:
- A full, small Elm program
- A way to use ports to expose socket.io functionality to an Elm application
I’m not an expert in just about anything in this example, so I’m sure there are a lot of ways to improve it. But hopefully it’s good enough to serve as a starting point for others who want to build similar projects.