It's example of exchanging encrypted messages between server and client using simple Nodejs express framework and websocket library socket.io infrastructure for best visualisation. Client encryption side is written with browser javascript Web CryptoApi. Server side is written with Nodejs crypto and Nodejs node-rsa
nodejs 6 and >
docker-compose up
node generate
Then overwrite textarea key values in static/index.html
node start
starting web server with websockets on 3000 port