Simple accounting SPA in Clojure and ClojureScript.
boodle uses these Clojure/ClojureScript libraries:
I used Bulma for the UI, and I customised re-frame-modal and cljs-pikaday to play well with it. Check the documentation for more details.
To run boodle, you need:
-
a Java JDK/JRE suitable for your system (I use OpenJDK)
Set up the database with the necessary tables and permissions you find in
model.sql.
Check also resources/config/config.edn
to adjust the database connection
parameters.
From the project root, run:
$ yarn
$ cd resources/src
$ gulp
Compile the ClojureScript files with:
$ shadow-cljs compile boodle
From the project root, fire up the server with:
$ clj -A:run
You can now browse at http://localhost:8080
and interact with boodle.
Thanks to Moritz Marquardt, you can also run boodle via Docker and Docker Compose:
$ git clone https://github.com/manuel-uberti/boodle.git && cd boodle
$ docker-compose up -d
You can now access boodle at http://localhost:8080
.
Unit tests are configured with kaocha and can be run from the project root with:
$ ./bin/kaocha
The included etc/boodle.service
is a basic
systemd unit
that executes etc/deploy.sh
to update, build and run boodle automatically on
my home server.