Exemplary real world application built with ClojureScript + re-frame
Switch branches/tags
Nothing to show
Clone or download
Latest commit c624b08 Jan 2, 2018

README.md

RealWorld Example App

ClojureScript and re-frame codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Demo      RealWorld

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

Setup And Run

  1. Install Leiningen (plus Java).

  2. Get the re-frame repo

    git clone https://github.com/jacekschae/conduit
    
  3. cd to the right example directory

    cd conduit
    
  4. Clean build

    lein dev
    
  5. Run You'll have to wait for step 4 to do its compile, and then:

    open http://localhost:3449
    

Compile an optimised version

Build with Java 9

  1. 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

  2. Open the following in your browser

    resources/public/index.html