mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 00:41:12 +00:00
update module list
This commit is contained in:
parent
63b5d99c71
commit
9702f12fd4
2 changed files with 30 additions and 17 deletions
23
README.md
23
README.md
|
|
@ -11,8 +11,17 @@ A fast data-driven router for Clojure(Script).
|
||||||
* Modular
|
* Modular
|
||||||
* [Fast](https://metosin.github.io/reitit/performance.html)
|
* [Fast](https://metosin.github.io/reitit/performance.html)
|
||||||
|
|
||||||
The following higher-level routers are also available as separate modules:
|
Modules:
|
||||||
|
|
||||||
|
* `reitit-core` - the routing core
|
||||||
* [`reitit-ring`](https://metosin.github.io/reitit/ring/ring.html) with [data-driven middleware](https://metosin.github.io/reitit/ring/data_driven_middleware.html)
|
* [`reitit-ring`](https://metosin.github.io/reitit/ring/ring.html) with [data-driven middleware](https://metosin.github.io/reitit/ring/data_driven_middleware.html)
|
||||||
|
* `reitit-spec` [clojure.spec](https://clojure.org/about/spec) coercion
|
||||||
|
* `reitit-schema` [Schema](https://github.com/plumatic/schema) coercion
|
||||||
|
* `reitit-swagger` [Swagger2](https://swagger.io/) apidocs
|
||||||
|
* `reitit-swagger-ui` Integrated [Swagger UI](https://github.com/swagger-api/swagger-ui).
|
||||||
|
|
||||||
|
Bubblin' under:
|
||||||
|
|
||||||
* `reitit-http` with enchanced Pedestal-style Interceptors (WIP)
|
* `reitit-http` with enchanced Pedestal-style Interceptors (WIP)
|
||||||
* `reitit-frontend` with Keechma-style Controllers (WIP)
|
* `reitit-frontend` with Keechma-style Controllers (WIP)
|
||||||
|
|
||||||
|
|
@ -33,12 +42,12 @@ All bundled:
|
||||||
Optionally, the parts can be required separately:
|
Optionally, the parts can be required separately:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
[metosin/reitit-core "0.1.1-SNAPSHOT"] ; routing core
|
[metosin/reitit-core "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-ring "0.1.1-SNAPSHOT"] ; ring-router
|
[metosin/reitit-ring "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-spec "0.1.1-SNAPSHOT"] ; spec coercion
|
[metosin/reitit-spec "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-schema "0.1.1-SNAPSHOT"] ; schema coercion
|
[metosin/reitit-schema "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-swagger "0.1.1-SNAPSHOT"] ; swagger
|
[metosin/reitit-swagger "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-swagger-ui "0.1.1-SNAPSHOT"] ; swagger-ui
|
[metosin/reitit-swagger-ui "0.1.1-SNAPSHOT"]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,14 @@
|
||||||
* Modular
|
* Modular
|
||||||
* [Fast](performance.md)
|
* [Fast](performance.md)
|
||||||
|
|
||||||
The following higher-level routers are also available as separate modules:
|
Modules:
|
||||||
* [`reitit-ring`](./ring/ring.md) with [data-driven middleware](./ring/data_driven_middleware.md)
|
|
||||||
* `reitit-http` with enchanced Pedestal-style Interceptors (WIP)
|
* `reitit-core` - the routing core
|
||||||
* `reitit-frontend` with Keechma-style Controllers (WIP)
|
* [`reitit-ring`](ring/ring.md) with [data-driven middleware](https://metosin.github.io/reitit/ring/data_driven_middleware.html)
|
||||||
|
* `reitit-spec` [clojure.spec](https://clojure.org/about/spec) coercion
|
||||||
|
* `reitit-schema` [Schema](https://github.com/plumatic/schema) coercion
|
||||||
|
* `reitit-swagger` [Swagger2](https://swagger.io/) apidocs
|
||||||
|
* `reitit-swagger-ui` Integrated [Swagger UI](https://github.com/swagger-api/swagger-ui).
|
||||||
|
|
||||||
To use Reitit, add the following dependecy to your project:
|
To use Reitit, add the following dependecy to your project:
|
||||||
|
|
||||||
|
|
@ -25,12 +29,12 @@ To use Reitit, add the following dependecy to your project:
|
||||||
Optionally, the parts can be required separately:
|
Optionally, the parts can be required separately:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
[metosin/reitit-core "0.1.1-SNAPSHOT"] ; routing core
|
[metosin/reitit-core "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-ring "0.1.1-SNAPSHOT"] ; ring-router
|
[metosin/reitit-ring "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-spec "0.1.1-SNAPSHOT"] ; spec coercion
|
[metosin/reitit-spec "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-schema "0.1.1-SNAPSHOT"] ; schema coercion
|
[metosin/reitit-schema "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-swagger "0.1.1-SNAPSHOT"] ; swagger
|
[metosin/reitit-swagger "0.1.1-SNAPSHOT"]
|
||||||
[metosin/reitit-swagger-ui "0.1.1-SNAPSHOT"] ; swagger-ui
|
[metosin/reitit-swagger-ui "0.1.1-SNAPSHOT"]
|
||||||
```
|
```
|
||||||
|
|
||||||
For discussions, there is a [#reitit](https://clojurians.slack.com/messages/reitit/) channel in [Clojurians slack](http://clojurians.net/).
|
For discussions, there is a [#reitit](https://clojurians.slack.com/messages/reitit/) channel in [Clojurians slack](http://clojurians.net/).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue