Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epost/purescript-node-postgres
PureScript bindings for node-postgres.
https://github.com/epost/purescript-node-postgres
node-js postgres purescript sql
Last synced: 3 days ago
JSON representation
PureScript bindings for node-postgres.
- Host: GitHub
- URL: https://github.com/epost/purescript-node-postgres
- Owner: epost
- License: mit
- Created: 2014-11-05T00:32:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T21:42:25.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T08:06:12.690Z (9 months ago)
- Topics: node-js, postgres, purescript, sql
- Language: PureScript
- Size: 163 KB
- Stars: 32
- Watchers: 4
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: PureScript bindings for node-postgres
PureScript bindings for the [[https://www.npmjs.org/package/pg][pg library]] ([[https://github.com/brianc/node-postgres][node-postgres]] on GitHub).
* Installation
Clone the project and install its dependencies:
#+begin_src bash
git clone https://github.com/epost/purescript-node-postgres
cd purescript-node-postgres
npm install
#+end_src* Building
Build:
#+begin_src bash
npm run build
#+end_src* Testing
Assuming you have [[http://www.postgresql.org/][PostgreSQL]] installed, create a database with some test data:
#+begin_src bash
psql --command="create database test"
psql --command="create user testuser"
psql --username=testuser test -f schema.sql
#+end_srcThen run the tests:
#+begin_src bash
npm run test
#+end_src* Documentation
See [[https://pursuit.purescript.org/packages/purescript-node-postgres/5.0.0][Module documentation]].