34b53dd6b4db2e20e9d25efa6b342cfec0770b02
Serve a RESTful API from any Postgres database
Installation
brew install postgres
createuser -d postgres
psql template1 -c "ALTER ROLE postgres WITH SUPERUSER;"
createdb dbapi_test -O postgres
cabal install -j --enable-tests --reorder-goals
Example usage:
dbapi -p 3000 -d postgres://postgres:@localhost:5432/dbapi_test
Running tests
cabal test --show-details=always --test-options="--color"
Languages
Haskell
67.3%
PLpgSQL
21.5%
Python
6.7%
Nix
4.3%
Shell
0.2%