clony
clony copied to clipboard
modern Clojure web-application example
clony
a modern Clojure webapp example
This is an example of web application, based on http-kit and websockets and utilizing excellent Stuart Sierra's workflow post.
To run this application:
lein cljsbuild oncelein uberjarjava -jar target/clony-0.1.0-SNAPSHOT-standalone.jar- open
localhost:8081in your browser - click the pony to have some pony wisdom
Please feel free to copy the code and use it in any way.
Development
Development workflow is supposed to be similar to Stuart's: stay in user
namespace and run (refresh) to recompile changed namespaces and reload
web application. Application "nodes" were designed with possibility of partial
restart in mind, so please modify this according to your needs.