Reitit is a fast data-driven router for Clojure(Script).
Examples
Simple route:
["/ping"]
Two routes:
[["/ping"]
["/pong"]]
Routes with route arguments:
[["/ping" ::ping]
["/pong" {:name ::pong}]]
Routes with path parameters:
[["/users/:user-id"]
["/api/:version/ping"]]
[["/users/{user-id}"]
["/files/file-{number}.pdf"]]
Route with catch-all parameter:
["/public/*path"]
["/public/{*path}"]
Full documentation is available here.