ClojureScript and re-frame codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with ClojureScript and re-frame including CRUD operations, authentication, routing, pagination, and more.
For more information on how this works with other frontends/backends, head over to the RealWorld repo.
Application structure/style heavily inspired by todomvc
-
Install Leiningen (plus Java).
-
Get the re-frame repo
git clone https://github.com/jacekschae/conduit
-
cd to the right example directory
cd conduit
-
Clean build
lein dev
-
Run You'll have to wait for step 4 to do its compile, and then:
open http://localhost:3449
Build with Java 9
-
Compile
lein prod
If you end up with Exception
<Exception details> ... Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
You should upgrade your Java to version 9. For more info check How to upgrade your Clojure and ClojureScript projects to use Java 9
-
Open the following in your browser
resources/public/index.html