A Seneca.js data storage plugin
npm install seneca
npm install @seneca/postgres-storeconst Seneca = require('seneca')
var seneca = Seneca().use('postgres-store', { ... })See test/ for usage examples.
A Postgres data store plugin for the Seneca framework.
If you are having difficulty, open an issue on the GitHub repo.
See README and Seneca docs for message patterns.
The [Senecajs org][] encourages open participation. If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.
Build the PostgreSQL Docker image:
npm run build
Start the PostgreSQL container:
npm run startStop the PostgreSQL container:
npm run stopWhile the container is running you can run the tests into another terminal:
npm run testBefore the tests can be run you must run docker-machine env default and copy the docker host address (example: '192.168.99.100').
This address must be inserted into the test/default_config.json file as the value for the host variable. The tests can now be run.
This plugin uses the pg driver.
[![npm version][npm-badge]][npm-url] [![Build Status][travis-badge]][travis-url] [![Dependency Status][david-badge]][david-url] [![Coveralls][BadgeCoveralls]][Coveralls] [![Gitter][gitter-badge]][gitter-url]
![]() |
This open source module is sponsored and supported by Voxgig. |
|---|

