29b70ca0350b5b582276f55383b0480ba1abebf1
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%