Skip to content

epost/purescript-node-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

938992d · Oct 21, 2021

History

83 Commits
Mar 1, 2021
Mar 13, 2020
Mar 1, 2021
Mar 1, 2021
Apr 25, 2015
May 4, 2019
Oct 21, 2021
Mar 1, 2021
Mar 1, 2021
Mar 1, 2021

Repository files navigation

PureScript bindings for node-postgres

purescript-node-postgres on Pursuit

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 install

Building

Build:

npm run build

Testing

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.sql

Then run the tests:

npm run test

Documentation

See Module documentation.