2014-09-11 20:22:52 -07:00
2014-09-25 15:18:58 -07:00
2014-06-16 21:36:55 -07:00
2014-09-23 22:04:04 -07:00
2014-06-16 21:36:55 -07:00

Serve a RESTful API from any Postgres database

Build Status

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%