PureScript bindings for node-postgres.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Database
test
.gitignore
LICENSE
README.org
bower.json
schema.sql

README.org

PureScript bindings for node-postgres

purescript-node-postgres on Pursuit

PureScript bindings for the pg library (node-postgres on GitHub).

Installation

I’ll assume you have PureScript and PostgreSQL installed. You’ll also need purescript-pulp and pg:

npm install pg
npm install -g pulp

Clone the project:

git clone https://github.com/epost/purescript-node-postgres
cd purescript-node-postgres

Create a Postgres database and run the tests:

psql --command="create database test"
cat schema.sql | psql --username=testuser test

Building and running

Let’s run some tests:

pulp install
pulp test

Documentation

See Module documentation.