@hackage snaplet-sqlite-simple1.0.0.2
sqlite-simple snaplet for the Snap Framework
Categories
License
BSD-3-Clause
Maintainer
Janne Hellsten <jjhellst@gmail.com> , Sergey Bushnyak <sergey.bushnyak@sigrlami.eu>
Links
Versions
Installation
Dependencies (16)
- 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 Show all…
Dependents (3)
@hackage/snap-auth-cli, @hackage/acme-everything, @hackage/snaplet-sqlite-simple-jwt-auth
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.