PureScript bindings for node-postgres
PureScript bindings for the pg library (node-postgres on GitHub).
Installation
Clone the project and install its dependencies:
git clone https://github.com/epost/purescript-node-postgres
cd purescript-node-postgres
npm installBuilding
Build:
npm run buildTesting
Assuming you have PostgreSQL installed, create a database with some test data:
psql --command="create database test"
psql --command="create user testuser"
psql --username=testuser test -f schema.sqlThen run the tests:
npm run testDocumentation
See Module documentation.