This is a simple demo project demonstrating the cross-platform usage of mikron.
To run:
- Install boot if you don't already have it
- Run
boot run
- Visit
localhost:8080
, and open the developer console
To connect to the cljs repl:
- Run
boot repl -c
- Inside the repl, enter
(boot-cljs-repl/start-repl)
What happens:
- the client, upon loading, opens a websocket connection to the server
- the server generates a message, packs it, and sends it to the client
- the client unpacks the received message, prints it, packs it, and sends it back to the server
- the server unpacks the received message and compares it to the original
Copyright © 2017 Viktor Magyari
Distributed under the Eclipse Public License either version 1.0.