https://github.com/practicalli/clojure-web-services
Develop production grade server-side web services and APIs using Clojure and REPL driven development
https://github.com/practicalli/clojure-web-services
aero clojure integrant integrant-repl next-jdbc postgresql
Last synced: 3 months ago
JSON representation
Develop production grade server-side web services and APIs using Clojure and REPL driven development
- Host: GitHub
- URL: https://github.com/practicalli/clojure-web-services
- Owner: practicalli
- License: cc-by-sa-4.0
- Created: 2016-04-20T00:00:27.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T09:50:32.000Z (10 months ago)
- Last Synced: 2025-06-16T04:33:26.678Z (7 months ago)
- Topics: aero, clojure, integrant, integrant-repl, next-jdbc, postgresql
- Language: Markdown
- Homepage: https://practical.li/clojure-web-services
- Size: 69.4 MB
- Stars: 13
- Watchers: 3
- Forks: 14
- Open Issues: 111
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
```none
██████╗ ██████╗ █████╗ ██████╗████████╗██╗ ██████╗ █████╗ ██╗ ██╗ ██╗
██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██║██╔════╝██╔══██╗██║ ██║ ██║
██████╔╝██████╔╝███████║██║ ██║ ██║██║ ███████║██║ ██║ ██║
██╔═══╝ ██╔══██╗██╔══██║██║ ██║ ██║██║ ██╔══██║██║ ██║ ██║
██║ ██║ ██║██║ ██║╚██████╗ ██║ ██║╚██████╗██║ ██║███████╗███████╗██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝
```
## Book overview
A Practical guide to building server-side web services and API's using [the Clojure programming language](http://clojure.org), a pragmatic functional programming language.
The guide provides simple and clean designs and code examples, encouraging effective use of the Clojure language.
A [REPL Driven Development workflow](https://practical.li/clojure-web-services/introduction/repl-workflow/) provides fast feedback, so you can see exactly what the code does as its being written.
Relevant theory and background reading is included whilst keeping the practical focus of this guide on build projects and experimenting with the code.
## Book status
[](https://github.com/practicalli/clojure-web-services/actions/workflows/megalinter.yaml)
[](https://github.com/practicalli/clojure-web-services/actions/workflows/publish-book.yaml)
[](https://github.com/practicalli/clojure-web-services/actions/workflows/pages/pages-build-deployment)
[](https://github.com/practicalli/clojure-web-services/issues)
[](https://github.com/practicalli/clojure-web-services/pulls)


### Creative commons license
This work is licensed under a Creative Commons Attribution 4.0 ShareAlike License (including images & stylesheets).
## Contributing
Issues and pull requests are most welcome although it is the maintainers discression as to if they are applicable. Please detail issues as much as you can. Pull requests are simpler to work with when they are specific to a page or at most a section. The smaller the change the quicker it is to review and merge.
Please [see the detailed contributing section of the book](contributing.html) before raising an issue or pull request
* [Current Issues](https://github.com/practicalli/clojure-web-services/issues)
* [Current pull requests](https://github.com/practicalli/clojure-web-services/pulls)
[Practicalli Clojure CLI Config](clojure/clojure-cli/practicalli-config.md) provides a user level configuration providing aliases for community tools used throughout this guide. Issues and pull requests can also be made via its GitHub repository.
By submitting content ideas and corrections you are agreeing they can be used in any work by Practicalli under the [Creative Commons Attribution ShareAlike 4.0 International license](https://creativecommons.org/licenses/by-sa/4.0/). Attribution will be detailed via [GitHub contributors](https://github.com/practicalli/clojure-web-services/graphs/contributors).
## Sponsor Practicalli
[](https://github.com/sponsors/practicalli-johnny/)
All sponsorship funds are used to support the continued development of [Practicalli series of books and videos](https://practical.li/), although most work is done at personal cost and time.
Thanks to [Cognitect](https://www.cognitect.com/), [Nubank](https://nubank.com.br/) and a wide range of other [sponsors](https://github.com/sponsors/practicalli-johnny#sponsors) for your continued support
## GitHub Actions
The megalinter GitHub actions will run when a pull request is created,checking basic markdown syntax.
A review of the change will be carried out by the Practicalli team and the PR merged if the change is acceptable.
The Publish Book GitHub action will run when PR's are merged into main (or the Practicalli team pushes changes to the default branch).
Publish book workflow installs Material for MkDocs version 9
## Local development
Install mkdocs version 9 using the Python pip package manager
```bash
pip3 install mkdocs-material=="9.4"
```
Install the plugins used by the Practicalli site using Pip (these are also installed in the GitHub Action workflow)
```bash
pip3 install mkdocs-material mkdocs-callouts mkdocs-glightbox mkdocs-git-revision-date-localized-plugin mkdocs-redirects pillow cairosvg
```
> pillow and cairosvg python packages are required for [Social Cards](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/)
Fork the GitHub repository and clone that fork to your computer,
```bash
git clone https://github.com//.git
```
Run a local server from the root of the cloned project
```bash
make docs
```
The website will open at
If making smaller changes, then only rebuild the content that changes, speeding up the local development process
```bash
make docs-changed
```