@backyard/service-postgresql-realtime
v0.2.26
Published
Listen to PostgreSQL changes over websocket for Backyard using Supabase Realtime
Downloads
2
Readme
Backyard PostgreSQL Realtime
Listen to PostgreSQL changes over websocket for Backyard using Supabase Realtime
What is Backyard
Backyard is an opinioned microservices platform
What is Supabase Realtime
Listens to changes in a PostgreSQL Database and broadcasts them over websockets.
Install
Usage
import { createWorkspaceConfiguration } from '@backyard/common';
import { usePostgreSqlRealtimeService } from '@backyard/@backyard/service-postgresql-realtime';
export default createWorkspaceConfiguration({
services: [
usePostgreSqlRealtimeService({
name: 'realtime',
settings: {
db: string
}
}),
],
});