Pedestal is a sturdy and reliable base for services, APIs, and applications. Pedestal runs in the back-end and can handle
anything from tiny static web sites, to traditional page oriented applications, to dynamic single page applications utilizing server-sent events and WebSockets.
 
Pedestal was created to bring Clojure’s key attributes, Focus, Empowerment, and Simplicity, to the domain of  Clojure web development.
 
(ns front-page
  (:require [io.pedestal.connector :as conn]
            [io.pedestal.http.http-kit :as hk]))
(defn- greet-handler
  [_request]
  {:status 200
   :body   "Hello, world!"})
(defn start!
  []
  (-> (conn/default-connector-map 8080)
      (conn/with-default-interceptors)
      (conn/with-routes
        #{["/greet" :get greet-handler]})
      (hk/create-connector nil)
      (conn/start!)))
 
 
Pedestal applications can start tiny, but Pedestal scales up with your needs.
 
This documentation is for Pedestal version {libs_version}.
 
Pedestal requires Clojure {base-clojure-version} or later.
 
Pedestal provides integrations with:
 
... with more integrations coming.