reitit/examples/http/README.md
2018-09-03 12:35:28 +03:00

21 lines
581 B
Markdown

# reitit-http example
## Usage
```clj
> lein repl
(start)
```
Go with browser to:
* http://localhost:3000/api/sync - synchronous
* http://localhost:3000/api/async - with [core.async](https://github.com/clojure/core.async) channels
* http://localhost:3000/api/future - with [futures](https://clojuredocs.org/clojure.core/future)
* http://localhost:3000/api/deferred - with [manifold](https://github.com/ztellman/manifold) deferred
* http://localhost:3000/api/promesa - with [promesa](http://funcool.github.io/promesa/latest/) promises
## License
Copyright © 2018 Metosin Oy