Skip to content

deemwar-coaching/clojure-web-template

Repository files navigation

Windows Generation

Install Clojure new for kit-clj issues

clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag """v1.2.381"""}' :as cljnew

Create a new web template from kit

clojure -Tcljnew create :template io.github.kit-clj :name """deemwar/helloweb""

helloweb

Start a REPL in your editor or terminal of choice.

Start the server with:

(go)

The default API is available under http://localhost:3000/api

System configuration is available under resources/system.edn.

To reload changes:

(reset)

REPLs

Cursive

Configure a REPL following the Cursive documentation. Using the default "Run with IntelliJ project classpath" option will let you select an alias from the "Clojure deps" aliases selection.

CIDER

Use the cider alias for CIDER nREPL support (run clj -M:dev:cider). See the CIDER docs for more help.

Note that this alias runs nREPL during development. To run nREPL in production (typically when the system starts), use the kit-nrepl library through the +nrepl profile as described in the documentation.

Command Line

Run clj -M:dev:nrepl or make repl.

Note that, just like with CIDER, this alias runs nREPL during development. To run nREPL in production (typically when the system starts), use the kit-nrepl library through the +nrepl profile as described in the documentation.

About

A Clojure web template based on kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published