heroku-persistent alternatives and similar packages
Based on the "Unclassified" category.
Alternatively, view persistent-database-url alternatives based on common mentions on social networks and blogs.
-
gotta-go-fast
A command line utility for practicing typing and measuring your WPM and accuracy. -
logging-effect
A very general logging effect for Haskell -
bit-stream
Lazy infinite compact streams with cache-friendly O(1) indexing and applications for memoization -
ascii-art-to-unicode
Small program to convert ASCII box art to Unicode box drawings. -
rollbar-cli
A group of libraries written in Haskell to communicate with Rollbar API. -
base-unicode-symbols
Unicode alternatives for common functions and operators -
hackertyper
"Hack" like a programmer in movies and games! Inspired by hackertyper.net -
aeson-serialize
Functions for serializing a type that is an instance of ToJSON -
dependent-sum-template
Template Haskell code to generate instances of classes in dependent-sum package -
argon2
Haskell bindings to libargon2 - the reference implementation of the Argon2 password-hashing function -
servant-streaming
Support for servant requests and responses via the 'streaming' library -
webkit-javascriptcore
webkit javascriptcore library FFI -
rerebase
Reexports from "base" with a bunch of other standard libraries -
containers-unicode-symbols
Unicode alternatives for common functions and operators -
semver-range
Implementation of semver and NPM-style semantic version ranges in Haskell -
postgresql-simple-sop
Generic functions for postgresql-simple -
hasql-dynamic-statements
Dynamic statements for Hasql -
reflex-dom-pandoc
Render Pandoc documents in reflex-dom -
network-carbon
A Haskell implementation of the Carbon protocol (part of the Graphite monitoring tools) -
streaming-events
Client-side consumption of a ServerEvent. -
qq-literals
A Haskell library for compile-time checked literal values, via QuasiQuoters.
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of heroku-persistent or a related project?
README
persistent-database-url
Converts the parameters parsed from a database url to the concrete configuration types required by persistent.
Currently, only persistent-postgresql's PostgresConf
is provided.
Installation
cabal install persistent-database-url
Example Usage
Adjusting the Yesod scaffold to run on Heroku:
config/settings.yml
database-url: "_env:DATABASE_URL:postgres://user:pass@localhost:5432/dbname"
database-pool-size: "_env:DB_POOL:5"
Settings.hs:
import Database.Persist.URL (fromDatabaseUrl)
instance FromJSON AppSettings where
parseJSON = withObject "AppSettings" $ \o -> do
appDatabaseConf <- fromDatabaseUrl
<$> o .: "database-pool-size"
<*> o .: "database-url"
-- ...
return AppSettings {..}
How to run tests
stack test