Playground app exploring a clojure stack for scalable real-time communication, featuring component, aleph, pulsar and DynamoDB.
- Start DynamoDB local. (e.g.
java -Djava.library.path=./DynamoDBLocal_lib -jar ..\DynamoDB\DynamoDBLocal.jar -sharedDb). Seedev/resources/config.ednfor configuration. Datomic-free should work without further setup. lein replin the cloned repo.- Tail
log.txtto view timbre logging. - Run
(in-ns 'dev)and then(go)to start the system. Use(reset)or(refresh)to reset the system/reload code. - You can try out the routes defined in
api.clj. Note that operations are dublicated for Dynamo and Datomic. - You can test the websocket components by connecting two browser clients (e.g. use
http://www.websocket.org/echo.htmlwithws://localhost:4040/wsfor Immutant andws://localhost:5050/wsfor Aleph). TODO: CLJS client. - Test the event-queue by running the test code in
event-queue.clj, e.g.(<>! :c3 :next).
MIT