Pedestal is a set of libraries written in Clojure that aims to bring both the language and its principles (Simplicity, Power and Focus) to server-side development.
Pedestal requires Java 1.8+ and Servlet 3.1
Leiningen dependencies:
[io.pedestal/pedestal.service "0.5.8"]
[io.pedestal/pedestal.service-tools "0.5.8"] ;; Only needed for ns-watching; WAR tooling
[io.pedestal/pedestal.jetty "0.5.8"]
[io.pedestal/pedestal.immutant "0.5.8"]
[io.pedestal/pedestal.tomcat "0.5.8"]
[io.pedestal/pedestal.aws "0.5.8"] ;; API-Gateway, Lambda, and X-Ray support
You can also use Pedestal's internal modules standalone
[io.pedestal/pedestal.log "0.5.8"] ;; Logging and runtime metrics
[io.pedestal/pedestal.interceptor "0.5.8"] ;; The Interceptor chain and the Interceptor API
[io.pedestal/pedestal.route "0.5.8"] ;; Efficient routing algorithms and data structures
Please see our Releases for version details, updates, and necessary migration steps.
Use leiningen (2.2.0+) to create a new Pedestal service. This will automatically pull templates from http://clojars.org
# To create a new service:
lein new pedestal-service the-next-big-server-side-thing
See the samples or Pedestal.io docs site for information on Pedestal, including:
Our primary focus for the near future is Pedestal documentation, sample applications and improving general ease of use.
Pedestal's roadmap gets captured within the GitHub issues.
lein sub install; lein docs
At present Pedestal supports OSX and Linux environments. At this time we do not support using Pedestal on a Windows environment.
Some good news: We will still gladly accept pull requests extending our Windows support
The bad news: We will not invest significant amounts of time into diagnosing or correcting Windows issues.
See CONTRIBUTING.md for details on contributing to Pedestal.
To install Pedestal library components in your local Maven repository run
lein sub install
from a local checkout of this repository.
After installing all the library components, you can run the tests with
lein sub test
from a local checkout of this repository. The majority of the
tests are in the service directory
Copyright 2013 Relevance, Inc.
Copyright 2014-2020 Cognitect, Inc.
The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0) which can be found in the file epl-v10.html at the root of this distribution.
By using this software in any fashion, you are agreeing to be bound by the terms of this license.
You must not remove this notice, or any other, from this software.
Can you improve this documentation? These fine people already did:
Paul deGrandis, Ryan Neufeld, Daniel De Aguiar, Daemian Mack, Michael Nygard, Sam Umbach, Pedestal Team, Joe Lane, Alex Redington, Marc Phillips & Michael ParenteauEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close