snaplet-sqlite-simple: sqlite-simple snaplet for the Snap Framework
This snaplet provides support for using the SQLite database with a Snap Framework application via the sqlite-simple package. It also includes an authentication backend.
See https://github.com/nurpax/snaplet-sqlite-simple/tree/master/example for an example project that demonstrates the use of this snaplet. It implements a stand-alone application with a login screen that persists user information in a SQLite database and allows a logged in user to save comments. Querying and listing comments demonstrates how a user of snaplet-sqlite-simple might relate Snaplet.Auth based AuthUsers to his own tables.
Downloads
- snaplet-sqlite-simple-1.0.0.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.8.1, 0.4.8.2, 0.4.8.3, 1.0.0.0, 1.0.0.1, 1.0.0.2 |
---|---|
Dependencies | aeson (>=0.11.1.4), base (>=4.8 && <5), bytestring (>=0.9.1 && <0.11), clientsession (>=0.8 && <0.10), configurator (>=0.3), direct-sqlite (>=2.3.3 && <2.4), lens (>=4.0 && <5), lifted-base (>=0.2 && <0.3), monad-control (>=1.0.1.0), mtl (>=2 && <3), snap (>=1.0 && <1.1), sqlite-simple (>=0.4.1 && <1.0), text (>=1.2), transformers (>=0.4), transformers-base (>=0.4 && <0.5), unordered-containers (>=0.2 && <0.3) [details] |
License | BSD-3-Clause |
Author | Janne Hellsten, Doug Beardsley |
Maintainer | Janne Hellsten <jjhellst@gmail.com> , Sergey Bushnyak <sergey.bushnyak@sigrlami.eu> |
Revised | Revision 1 made by HerbertValerioRiedel at 2016-11-20T23:20:46Z |
Category | Web, Snap |
Home page | https://github.com/nurpax/snaplet-sqlite-simple |
Source repo | head: git clone https://github.com/nurpax/snaplet-sqlite-simple.git |
Uploaded | by JanneHellsten at 2016-11-07T21:50:47Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 15223 total (7 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2016-11-17 [all 1 reports] |