beatngu13 / cljs-praxisboerse

SPA built with ClojureScript and Hoplon
1 stars 0 forks source link

cljs-praxisboerse

A rudimentary single-page application (SPA) built with ClojureScript and Hoplon, written as part of a showcase about JavaScript alternatives. Further ingredients are:

Checkout the result at https://beatngu13.github.io/cljs-praxisboerse/. The SPA provides a lightweight browser for HsKA's Praxisbörse based on the intranet REST API. Hence, no VPN access is needed.

Dependencies

Usage

Development

  1. Start the dev task. In a terminal run:

    $ boot dev

    This will give you a Hoplon development setup with:

    • auto compilation on file changes
    • audible warning for compilation success or failures
    • auto reload the HTML page on changes
    • Clojurescript REPL
  2. Go to http://localhost:8000/ in your browser. You should see the application's landing page.

  3. If you edit and save a file, the task will recompile the code and reload the browser to show the updated version.

Production

  1. Run the prod task. In a terminal run:

    $ boot prod
  2. The compiled files will be on the target/ directory. This will use advanced compilation and prerender the HTML.

License

Copyright © 2017 Daniel Kraus