Skip to content

leon-computer/basis

Repository files navigation

leon.computer.basis

Minimum viable Clojure backend with a Datomic database.

Intended to be cloned, experimented with, and modified to become your next Clojure program.

These things are included:

  • REPL namespace with "reset" command
  • Working logback configuration
  • CIDER-NREPL server
  • Support for different configurations
  • Project main with graceful shutdown (TODO)
  • Uberjar with source obfuscation (TODO)
  • A HTTP web server component
  • A Datomic database component
  • Clojurescript frontend

Why?

Fills the gap between example code that doesn't scale and templates which already add many dependencies and make many choices for you. It is a minimalist example of a scalable scaffolding with a "reloaded" development workflow and road to production.

CLJ Usage

  • Start nrepl by scripts/clj-nrepl.sh
  • Connect your editor to 7889
  • Enter (reset) into the REPL

CLJS Usage

  • Start nrepl by scripts/cljs-nrepl.sh
  • Connect your editor to 7888
  • Enter (figwheel) into the REPL

License

MIT

About

Minimum viable Clojure backend with a Datomic database and reloaded workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published