This repository is related to this Coding Challenge: https://github.com/digitalservicebund/backend-challenge
Not using nix?
Install clojure for running the source, the REPL and the unit tests.
The app also has a docker image: ghcr.io/rschardt/govdata-dashboard:latest
nix develop -c clj -M -m main.core
nix develop -c clj
(require '[main.core])
(main.core/-main)
(require '[main.core] :reload-all)
nix develop -c clj -M -m test.main.core
nix build
# run built binary
./result/bin/GovData-Dashboard
nix build .\#docker-image
docker image load -i result
docker run ghcr.io/rschardt/govdata-dashboard:latest
docker pull ghcr.io/rschardt/govdata-dashboard:latest
docker run ghcr.io/rschardt/govdata-dashboard:latest
If deps.edn has changed run the following command and commit the resulting changes in deps-lock.json.
nix run github:jlesquembre/clj-nix#deps-lock
- For JSON-Parsing: https://github.com/dakrone/cheshire
- Simple http-server: https://github.com/http-kit/http-kit
- Hiccup for generating HTML: https://github.com/weavejester/hiccup
- A nix flake as devShell, run, test, build, packaging and deployment tool
- Nix support for clojure, clj-nix: https://github.com/jlesquembre/clj-nix