Liking cljdoc? Tell your friends :D

components.pedestal

This library delivers:

  • A Pedestal server as a component
    • Featuring refined integration with the Reloaded workflow
      • Otherwise Pedestal<->Reloaded integration can be hacky or incomplete.
    • Including logging dependencies, so that apps don't repeat the same dep declarations.
  • Pedestal service configuration
  • A dependency injection mechanism
  • A spec-coercion interceptor
    • Every app tends to need this; hence the bundling here.

Rationale

  • Reduce per-project boilerplate.
  • The server can be delicate to configure, so changes to it should be centralized, so that everyone benefits from future improvements.
  • Provide a mechanism for injecting Component dependencies into the request context.
    • grzm/component.pedestal provides that, and this library provides something DRYer on top of it.

Installation

[com.nedap.staffing-solutions/components.pedestal "2.0.0"]

Documentation

The best way to see how the three bundled components play together is creating a web app via our lein-template.

As per usual, this library features specs, docstrings and various tests that can serve as examples.

License

Copyright © Nedap

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0.

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

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

× close