Let’s use Elm ports to start to listen to WebSocket messages and send Picshare messages in the opposite direction. Follow comment instructions from the gist:
In a previous post, I made an error in
Build the Picshare:
elm make Picshare.elm --output picshare.js
Success! Compiled 1 module.
Picshare ───> picshare.js