Skip to content

weisisheng/supabase-cdc-to-dbos-public

Repository files navigation

supabase-cdc-to-dbos-public

This is a simple application that webhook that listens for inserts to a Supabase table and sends the changes to a DBOS postgres table.

See the following dev.to article for more details: https://dev.to/vince_hirefunnel_co/dbos-cloud-minimal-effort-change-data-capture-cdc-tool-4c0d


sample event payload

[
	{
		"uid": "d2771cef-fa55-4e5d-87f1-ce5203739417",
		"event_name": null,
		"event_payload": {
			"type": "INSERT",
			"table": "tempInputsData",
			"record": {
				"id": "tempId-rewwrwrwr2242424",
				"email": "[email protected]",
				"lastName": "Que",
				"firstName": "Susie",
				"created_at": "2024-07-28T06:12:55.800426+00:00",
				"updated_at": "2024-07-28T06:12:55.800426"
			},
			"schema": "public",
			"old_record": null
		}
	}
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published