strelka: A simple, flexible and composable web-router

[ library, mit, web ] [ Propose Tags ]

An HTTP server can be defined as a request parser, which produces a response, while managing the application state. As simple as that. This library exploits that fact to produce a very simple and flexible API, which can be executed on top of any specific HTTP-server implementation (e.g., Warp).

Library Structure
The API is split into a set of DSLs targeted at solving specific problems in isolation, thus facilitating a proper separation of concerns.
Server Bindings
Currently only a binding to WAI and Warp is known: http://hackage.haskell.org/package/strelka-wai.
Demo
For a thorough demonstration of the library and suggested usage patterns check out the following project: https://github.com/nikita-volkov/strelka-demo.

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.4, 0.4.0.1, 1, 2, 2.0.1, 2.0.2, 2.0.2.1, 2.0.2.2, 2.0.3, 2.0.4, 2.0.5
Dependencies attoparsec (>=0.13 && <0.14), attoparsec-data (>=1.0.4 && <1.1), base (<5), base-prelude (<2), base64-bytestring (>=1 && <2), bifunctors (>=5 && <6), bytestring (>=0.10.8 && <0.11), bytestring-tree-builder (>=0.2 && <0.3), hashable (>=1 && <2), http-media (>=0.6.4 && <0.9), mtl (>=2 && <3), scientific (>=0.3 && <0.4), semigroups (>=0.18 && <0.19), strelka-core (>=0.3 && <0.4), text (>=1 && <2), text-builder (>=0.6 && <0.7), time (>=1 && <2), transformers (>=0.4 && <0.6), unordered-containers (>=0.2 && <0.3), url-decoders (>=0.2 && <0.3), uuid (>=1.3 && <2) [details]
License MIT
Copyright (c) 2016, Nikita Volkov
Author Nikita Volkov <nikita.y.volkov@mail.ru>
Maintainer Nikita Volkov <nikita.y.volkov@mail.ru>
Category Web
Home page https://github.com/nikita-volkov/strelka
Bug tracker https://github.com/nikita-volkov/strelka/issues
Source repo head: git clone git://github.com/nikita-volkov/strelka.git
Uploaded by NikitaVolkov at 2019-04-24T12:06:13Z
Distributions NixOS:2.0.5
Downloads 5263 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-04-24 [all 1 reports]