A drag & drop "kanban board" example with Clojure
Blog post: http://thegeez.net/2016/09/22/trello_clone_clone_in_clojure.html
Demo: https://clj-board.herokuapp.com
This uses an in-process/in-memory only database. In the user
namespace, through lein repl/cider
etc.:
(all) ;; to start the component system and figwheel
(reset) ;; to reset the whole component system
The site runs under http://localhost:8080.
Compile the ClojureScript in advanced compilation and make an uberjar:
lein run -m user/cljs-compile
lein uberjar
java -jar target/clj-board-prod-standalone.jar PORT DB-URL
The app requires a PostgreSQL database add-on. Run the database migrations from the repl:
heroku run java -cp target/clj-board-prod-standalone.jar clojure.main
=> (require 'net.thegeez.clj-board.main)
=> (net.thegeez.clj-board.main/reset-db)
Written by: Gijs Stuurman / @thegeez / Blog / GitHub
Copyright © 2016 Gijs Stuurman