snaplet-redson: CRUD for JSON data with Redis storage

[ bsd3, library, snap, web ] [ Propose Tags ]

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

Versions [RSS] [faq]
Dependencies aeson (==0.6.*), base (==4.*), bytestring (==0.9.*), configurator (==0.2.*), containers (==0.4.*), data-lens (>=2.0.1 && <2.1), data-lens-template (==2.1.*), easy-file (==0.1.*), hedis (==0.4.*), mtl (==2.*), snap (==0.8.*), snap-core (==0.8.*), snaplet-redis (==0.1.*), text (==0.11.*), utf8-string (==0.3.*), websockets (==0.6.*), websockets-snap (==0.6.*) [details]
License BSD-3-Clause
Author Dmitry Dzhus
Maintainer <>
Category Web, Snap
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by DmitryDzhus at 2012-04-05T14:28:38Z
Distributions NixOS:
Downloads 920 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees