Skip to content

Instantly share code, notes, and snippets.

$ time echo '{:foo :bar}' |./bin/clack :foo
:bar
echo '{:foo :bar}' 0.00s user 0.00s system 0% cpu 0.002 total
./bin/clack :foo 2.54s user 0.19s system 104% cpu 2.619 total

How to make a pedestal + ss component w/ lein

this loosely follows pedestal component tutorial

http://pedestal.io/guides/pedestal-with-component

create base project

lein new pedestal-service tnbsst

add ss component to project.clj

all pedestal deps already scaffoled, using jetty for this demo