Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rowtype-yoga/purescript-yoga-postgres
PureScript bindings for node-postgres.
https://github.com/rowtype-yoga/purescript-yoga-postgres
Last synced: 3 months ago
JSON representation
PureScript bindings for node-postgres.
- Host: GitHub
- URL: https://github.com/rowtype-yoga/purescript-yoga-postgres
- Owner: rowtype-yoga
- License: mit
- Fork: true (epost/purescript-node-postgres)
- Created: 2022-05-21T20:34:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-22T10:40:42.000Z (over 2 years ago)
- Last Synced: 2023-03-05T20:41:46.793Z (over 1 year ago)
- Language: PureScript
- Size: 156 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-purescript - yoga-postgres - `node-postgres` FFI bindings, originally forked from [`purescript-node-postgres`](https://github.com/epost/purescript-node-postgres). (Databases / Deku)
README
# 💾 purescript-yoga-postgres
**Note**: This is a fork of [purescript-node-postgres](https://github.com/epost/purescript-node-postgres) ([MIT Licence](./LICENSE/purescript-node-postgress.LICENSE)).
PureScript bindings for the [pg library](https://www.npmjs.org/package/pg) ([node-postgres](https://github.com/brianc/node-postgres) on GitHub).
## Installation
Clone the project and install its dependencies:
```bash
npm install pg --save
spago install yoga-postgres
```## Building
Build:
```bash
spago build
# or
npm run build
```## Testing
```bash
# start a postgres database
docker-compose up
```
Then run the tests:
```bash
spago -x test.dhall test
# or
npm run test
```