2019-03-29 16:03:00 +00:00
|
|
|
outwatch-router [![Build Status][travis-img]][travis-link] [![Chat on Gitter][gitter-img]][gitter-link]
|
2019-02-01 16:21:07 +00:00
|
|
|
===
|
|
|
|
|
|
|
|
Easy routing for [outwatch](https://outwatch.github.io) on scala.js
|
|
|
|
|
2019-03-23 03:20:35 +00:00
|
|
|
Most of this code is adapted from [http4s](http://http4s.org)'s route parsing and path pattern matching.
|
2019-02-01 16:21:07 +00:00
|
|
|
|
2019-02-11 22:23:13 +00:00
|
|
|
Add to library dependencies:
|
|
|
|
|
|
|
|
```
|
2019-06-05 23:22:47 +00:00
|
|
|
"com.clovellytech" %%% "outwatch-router" % "0.0.7"
|
2019-02-11 22:23:13 +00:00
|
|
|
```
|
|
|
|
|
2019-02-01 20:25:58 +00:00
|
|
|
See [documentation][doc-root]
|
|
|
|
|
2019-03-22 14:39:36 +00:00
|
|
|
This router is also demonstrated at [outwatch-examples](https://github.com/clovellytech/outwatch-examples).
|
|
|
|
|
2019-02-11 05:25:04 +00:00
|
|
|
Todo:
|
|
|
|
* Work on documentation, provide example of links
|
2019-02-01 16:27:56 +00:00
|
|
|
|
|
|
|
[travis-img]:https://travis-ci.com/clovellytech/outwatch-router.svg?branch=master
|
|
|
|
[travis-link]:https://travis-ci.com/clovellytech/outwatch-router
|
2019-03-29 16:03:00 +00:00
|
|
|
[gitter-img]:https://badges.gitter.im/clovellytech/outwatch-router.svg
|
|
|
|
[gitter-link]:https://gitter.im/clovellytech/outwatch-router?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
|
2019-02-01 20:25:58 +00:00
|
|
|
[doc-root]:https://clovellytech.github.io/outwatch-router
|