From 5b97387bad65ffffbb0cc654b925e2aa7d8ee51c Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Fri, 31 Aug 2018 15:13:33 +0300 Subject: [PATCH] docs --- CHANGELOG.md | 10 ++++++++++ README.md | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 822b9258..89ee4f6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## 0.2.0-SNAPSHOT +Sample apps demonstraing the current status of `reitit`: + +* `reitit-ring` with coercion, swagger and default middleware: https://github.com/metosin/reitit/blob/master/examples/ring-swagger/src/example/server.clj +* `reitit-frontend`, the easy way: https://github.com/metosin/reitit/blob/master/examples/frontend/src/frontend/core.cljs +* `reitit-frontent` with [Keechma](https://github.com/keechma/keechma)-style controllers: https://github.com/metosin/reitit/blob/master/examples/frontend-controllers/src/frontend/core.cljs + ## `reitit-core` * **BREAKING**: the router option key to extract body format has been renamed: `:extract-request-format` => `:reitit.coercion/extract-request-format` @@ -89,6 +95,10 @@ :validatorUrl nil}}) ``` +## `reitit-frontend` + +* new module for frontend-routing. See [docs](https://metosin.github.io/reitit/frontend/basics.html) for details. + ## 0.1.3 (2018-6-25) ## `reitit-core` diff --git a/README.md b/README.md index 35624005..a99ef8f4 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,13 @@ Invalid request: * content negotiation library like [Muuntaja](https://github.com/metosin/muuntaja) * some default Ring-middleware like `ring.middleware.params/wrap-params` -See [Ring with Swagger Example](https://github.com/metosin/reitit/tree/master/examples/ring-swagger) for a runnable example. Plan is to have more batteries as separate modules, templates and example projects. Stay tuned. +## More examples + +* `reitit-ring` with coercion, swagger and default middleware: https://github.com/metosin/reitit/blob/master/examples/ring-swagger/src/example/server.clj +* `reitit-frontend`, the easy way: https://github.com/metosin/reitit/blob/master/examples/frontend/src/frontend/core.cljs +* `reitit-frontent` with [Keechma](https://github.com/keechma/keechma)-style controllers: https://github.com/metosin/reitit/blob/master/examples/frontend-controllers/src/frontend/core.cljs + +All examples are in https://github.com/metosin/reitit/tree/master/examples ## More info