A Leiningen template for generating a diplomat-architecture styled pedestal service The ports available at this template are:
Using the template from clojars:
lein new org.clojars.majorcluster/diplomat-http-w-postgresql-service
Testing locally:
lein new diplomat-http-w-postgresql-service
curl -H "x-token: dobrou noc" -X GET localhost:8080/events
Deploying:
export GPG_TTY=$(tty) && lein deploy clojars
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |