mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
A fast data-driven routing library for Clojure/Script
clojureclojurescriptdata-drivenfrontendinterceptorsmetosin-activemiddlewarepedestalringroutingswagger
| .circleci | ||
| doc | ||
| modules | ||
| perf-test/clj/reitit | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .travis.yml | ||
| book.json | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| project.clj | ||
| README.md | ||
reitit

A friendly data-driven router for Clojure(Script).
- Simple data-driven route syntax
- Route conflict resolution
- First-class route meta-data
- Bi-directional routing
- Pluggable coercion (clojure.spec)
- supports both Middleware & Interceptors
- Extendable
- Fast
Ships with example router for Ring. See Issues for roadmap.
Latest version
Documentation
Check out the full documentation!
Special thanks
To all Clojure(Script) routing libs out there, expecially to Ataraxy, Bide, Bidi, Compojure and Pedestal.
Also to Compojure-api, Kekkonen and Ring-swagger and for the data-driven syntax, coercion & stuff.
And some Yada too.
Development instructions
The documentation is built with gitbook. To preview your changes locally:
npm install -g gitbook-cli
gitbook install
gitbook serve
To raise the version:
# new version
./scripts/set-version "1.0.0"
./scripts/lein-modules install
# works
lein test
# deploy to clojars
./scripts/lein-modules do clean, deploy clojars
License
Copyright © 2017 Metosin Oy
Distributed under the Eclipse Public License, the same as Clojure.