Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 78 lines (68 sloc) 3.255 kB
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
1 name: snaplet-redson
2 version: 0.1.0.0
3 synopsis: CRUD for JSON data with Redis storage
2208daf @dzhus More notes
authored
4
5 description: This snaplet provides HTTP API to /c/reate, /r/ead,
6 /u/pdate and /d/elete JSON objects sent by client
7 and stored in Redis key-value cache. CRUD methods
8 are mapped to HTTP `POST`, `GET`, `PUT` and
9 `DELETE`. Valid objects are described using model
10 definition syntax, which includes information on
11 fields and permissions. The snaplet supports
12 role-based user permissions system as implemented
13 by Snap authentication. Model definitions may
14 also be used by browser JavaScript to provide
15 interface to create or edit objects.
16
17 There is a permission-less transparent mode,
18 WebSocket create/delete notifications and
19 timeline method to serve information about
20 recently added objects. Ad-hoc search is
21 implemented in Redis and provided via snaplet
22 route.
23
24 There's a "snapless" part of the package, which
25 implements Snap-agnostic Redis CRUD operations
26 for key-value pair collections and may be used
27 for tools which operate with storage directly
28 without using web framework.
29
30 More of usage documentation is contained in
31 <https://github.com/dzhus/snaplet-redson/blob/master/README.org>
32
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
33 homepage: https://github.com/dzhus/snaplet-redson/
183b21e @dzhus .cabal minor fixups
authored
34 bug-reports: https://github.com/dzhus/snaplet-redson/issues/
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
35 license: BSD3
36 license-file: LICENSE
37 author: Dmitry Dzhus
0b5eebf @dzhus No angle bracket in maintainer field
authored
38 maintainer: dima@dzhus.org
653291a @dzhus Web, Snap
authored
39 category: Web, Snap
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
40 build-type: Simple
41 cabal-version: >=1.8
183b21e @dzhus .cabal minor fixups
authored
42 tested-with: GHC == 7.4.1
9197b93 @dzhus Mark stability in .cabal
authored
43 stability: provisional
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
44
45 source-repository head
46 type: git
47 location: git://github.com/dzhus/snaplet-redson.git
48
49 library
67e9386 @dzhus Include Util in other-modules, add -fno-warn-unused-do-bind
authored
50 ghc-options: -Wall -fno-warn-unused-do-bind
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
51 hs-source-dirs: src
52
c04f42c @dzhus Expose all modules
authored
53 exposed-modules: Snap.Snaplet.Redson,
24e3078 @dzhus Split Metamodel and Permissions modules. Now we have Snapless part
authored
54 Snap.Snaplet.Redson.Snapless.CRUD,
55 Snap.Snaplet.Redson.Snapless.Metamodel,
2d9b619 @dzhus Standalone model loader
authored
56 Snap.Snaplet.Redson.Snapless.Metamodel.Loader,
f55568a @dzhus Factor out Redis-only instance creation code to separate Snapless module
authored
57 Snap.Snaplet.Redson.Util
24e3078 @dzhus Split Metamodel and Permissions modules. Now we have Snapless part
authored
58 other-modules: Snap.Snaplet.Redson.Permissions,
59 Snap.Snaplet.Redson.Search
c04f42c @dzhus Expose all modules
authored
60
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
61 build-depends:
62 aeson == 0.6.*,
63 base == 4.*,
64 bytestring == 0.9.*,
8ee855e @dzhus Support metamodels
authored
65 configurator == 0.2.*,
6069dec @tymmym Fixed containers version
tymmym authored
66 containers >= 0.4.1 && < 0.5,
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
67 data-lens >= 2.0.1 && < 2.1,
68 data-lens-template == 2.1.*,
8ee855e @dzhus Support metamodels
authored
69 easy-file == 0.1.*,
b63e283 @dzhus Bump Hedis to 0.4
authored
70 hedis == 0.4.*,
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
71 mtl == 2.*,
509bdb6 @dzhus Bump deps to Snap 0.8
authored
72 snap == 0.8.*,
73 snap-core == 0.8.*,
0c9b786 @dzhus Bare snaplet: CRUD for JSON data with Redis storage
authored
74 snaplet-redis == 0.1.*,
1b75ec4 @dzhus indexCollate for case-insensitive search
authored
75 text == 0.11.*,
509bdb6 @dzhus Bump deps to Snap 0.8
authored
76 websockets == 0.6.*,
77 websockets-snap == 0.6.*
Something went wrong with that request. Please try again.