0.8.0 • Published 2 years ago

@sociably/postgres-state v0.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Postgres State Module

This module implement the BaseStateController interface with PostgreSQL database.

Install

npm install @sociably/core @sociably/postgres-state
# or with yarn
yarn add @sociably/core @sociably/postgres-state

Docs

Check the Using State document and the package reference.

Setup

import Sociably from '@sociably/core';
import PostgresState from '@sociably/postgres-state';

const app = Sociably.createApp({
  modules: [
    PostgresState.initModule({
      connectOptions: {
        host: 'localhost',
        port: 5432,
      },
    }),
  ],
});
0.9.0-alpha.26

2 years ago

0.9.0-alpha.13

2 years ago

0.9.0-alpha.0

2 years ago

0.9.0-alpha.4

2 years ago

0.8.0

2 years ago

0.8.0-alpha.10

2 years ago

0.8.0-alpha.30

2 years ago

0.8.0-alpha.29

2 years ago

0.8.0-alpha.8

2 years ago