The snaplet-sqlite-simple package
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.
Properties
| Versions | 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 |
|---|---|
| Dependencies | base (4.*), bytestring (≥0.9.1 & <0.11), clientsession (0.8.*), configurator (0.2.*), direct-sqlite (≥2.0 & <2.3), MonadCatchIO-transformers (0.3.*), mtl (2.*), resource-pool-catchio (0.2.*), snap (0.10.*), sqlite-simple (≥0.1 & <1.0), text (0.11.*), transformers (≥0.2 & <0.4), unordered-containers (0.2.*) |
| License | BSD3 |
| Author | Janne Hellsten, Doug Beardsley |
| Maintainer | Janne Hellsten <jjhellst@gmail.com> |
| Category | Web, Snap |
| Home page | https://github.com/nurpax/snaplet-sqlite-simple |
| Source repository | git clone https://github.com/nurpax/snaplet-sqlite-simple.git |
| Upload date | Mon Dec 10 14:45:24 UTC 2012 |
| Uploaded by | JanneHellsten |
| Built on | ghc-7.6 |
Modules
- Snap
- Snaplet
Downloads
- snaplet-sqlite-simple-0.3.0.tar.gz (Cabal source package)
- package description (included in the package)