Skip to content

compojure-api templateλ︎

Quickly create the basics of a server-side webapp with the compojure-api template for Leiningen.

lein new compojure-api project-name

This command creates a new Clojure project in a directory called scoreboard-service.

Adding testsλ︎

Using either of the +clojure-test or +midge will add the specific test library to the project created.

lein new compojure-api project-name +clojure-test