Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nedap/components.pedestal
Pedestal server as a Clojure Component
https://github.com/nedap/components.pedestal
clojure hacktoberfest
Last synced: 2 months ago
JSON representation
Pedestal server as a Clojure Component
- Host: GitHub
- URL: https://github.com/nedap/components.pedestal
- Owner: nedap
- License: epl-2.0
- Created: 2019-02-19T10:12:25.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T08:51:37.000Z (about 2 years ago)
- Last Synced: 2024-12-12T20:35:53.354Z (2 months ago)
- Topics: clojure, hacktoberfest
- Language: Clojure
- Homepage:
- Size: 88.9 KB
- Stars: 9
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: .github/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# components.pedestal
This library delivers:
* A [Pedestal](https://github.com/pedestal/pedestal) server as a component
* Featuring refined integration with the Reloaded workflow
* Otherwise Pedestal<->Reloaded integration can be hacky or incomplete.
* Pedestal service configuration
* A [dependency injection mechanism](https://github.com/grzm/component.pedestal)
* 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
```clojure
[com.nedap.staffing-solutions/components.pedestal "2.0.1"]
```## Documentation
The best way to see how the three bundled components play together is creating a web app via our [lein-template](https://github.com/nedap/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](https://www.eclipse.org/legal/epl-2.0).