gingersnap-0.3.1.0: Consistent and safe JSON APIs with snap-core and (by default) postgresql-simple
Straightforward JSON API tools and idioms for snap-core and datastore access (by default PostgreSQL via postgresql-simple), that provide:
- Safe access to pools of DB connections (preventing connection leaks)
- Simple and consistent JSON responses for successes and failures (including unexpected failures)
- An optional read-only/maintenance mode for keeping services up during e.g. database migrations
See the README for a tutorial and example use.
Signatures
Modules
- Gingersnap