@hackage snaplet-redson0.1.0.0
CRUD for JSON data with Redis storage
Categories
License
BSD-3-Clause
Maintainer
<dima@dzhus.org>
Links
Versions
- 0.1.0.0 Thu, 5 Apr 2012
Installation
Dependencies (17)
- aeson >=0.6 && <0.7
- base >=4 && <5
- bytestring >=0.9 && <0.10
- configurator >=0.2 && <0.3
- containers >=0.4 && <0.5
- data-lens >=2.0.1 && <2.1 Show all…
Dependents (1)
@hackage/acme-everything
This snaplet provides HTTP API to create, read,
update and delete JSON objects sent by client
and stored in Redis key-value cache. CRUD methods
are mapped to HTTP POST, GET, PUT and
DELETE. Valid objects are described using model
definition syntax, which includes information on
fields and permissions. The snaplet supports
role-based user permissions system as implemented
by Snap authentication. Model definitions may
also be used by browser JavaScript to provide
interface to create or edit objects.
There is a permission-less transparent mode,
WebSocket create/delete notifications and
timeline method to serve information about
recently added objects. Ad-hoc search is
implemented in Redis and provided via snaplet
route.
There's a "snapless" part of the package, which
implements Snap-agnostic Redis CRUD operations
for key-value pair collections and may be used
for tools which operate with storage directly
without using web framework.
More of usage documentation is contained in
https://github.com/dzhus/snaplet-redson/blob/master/README.org