reitit/examples/ring-integrant/dev/user.clj
Daw-Ran Liou c00c299e13 Add integrant repl for better development experience
- Create `user` ns for REPL-driven development.
- Add entry point in `example.server` to start server in production.
2019-10-27 20:15:54 +02:00

15 lines
246 B
Clojure

(ns user
(:require
[integrant.repl :as ig-repl]
[example.server]))
(ig-repl/set-prep! (constantly example.server/system-config))
(def go ig-repl/go)
(def halt ig-repl/halt)
(def reset ig-repl/reset)
(comment
(go)
(reset)
(halt))