Liking cljdoc? Tell your friends :D

org.clojars.majorcluster/diplomat-http-w-postgresql-service

Clojars Project

A Leiningen template for generating a diplomat-architecture styled pedestal service The ports available at this template are:

  • http inbound, having foo route specified as a sample
  • postgresql db outbound
    • change connections at ports/postgresql/core or use a customized proper way to load configs
    • modify initial scripts at resource/migrations, create db and initial tables and run it on database created

Usage

Using the template from clojars:
lein new org.clojars.majorcluster/diplomat-http-w-postgresql-service

Development

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 is a website building & hosting documentation for Clojure/Script libraries

× close