Serve a RESTful API from any Postgres database

Build Status

Installation

brew install postgres
cabal install -j --enable-tests

Example usage:

dbapi -p 3000 -d postgres://[user]:@localhost:5432/[database]

Running tests

createuser --superuser --no-password dbapi_test
createdb -O dbapi_test -U postgres dbapi_test

cabal test --show-details=always --test-options="--color"
Languages
Haskell 67.3%
PLpgSQL 21.5%
Python 6.7%
Nix 4.3%
Shell 0.2%