Liking cljdoc? Tell your friends :D

Skir - an over-simplified HTTP Node.js server toolkit

in ClojureScript.

Usage

Clojars Project

[mvc-works/skir "0.0.4"]

WIP...

(require '[skir.core :as skir])

(defn on-request! [req]
  {:code 200
   :message "OK"
   :headers {:Content-Type "application/edn"}
   :body {:message "Hello World!"}})

(skir/create-server! #(on-request! %))

License

MIT

Can you improve this documentation? These fine people already did:
ChenYong & jiyinyiyong
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close