37f2aef21261907afe671f8f5dbeca45c9cbeff3
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%