/clojure-starter-template

A work-in-progress Clojure starter template, using Integrant + Aero + Datomic.

Primary LanguageClojure

Clojure starter template

This is a work-in-progress starter template, using an (opinionated) modern stack:

  • Integrant for managing systems and their depdendencies.
  • Aero for config management.
  • Datomic for the database (which may become xtdb).
  • Reitit for route handling.
  • Ring for the web server (which may become http-kit or something else).
  • Babashka for scripting.
  • shadow-cljs for Clojurescript compilation.
  • UIx as a React wrapper.

Eventually this will be a template that you can start from, using [clj-new].

Running

Currently you can run the dev system using bb:

bb dev

This will start an nrepl on port 9993, set up a Datomic connection, and start the web server.