Fixes: #72 /claim #72 Implement data synchronization functionality between external data sources and StarbaseDB’s internal SQLite database. This plugin enables close-to-edge replica creation by automatically pulling and synchronizing data from external sources (like PostgreSQL) at configurable intervals.
Implement core Data Sync Plugin
sync_interval
optiontables
optioncreated_at
and id
columnsAdd plugin configuration support
Implement sync mechanisms
Create comprehensive demo and documentation
docker run --name starbasedb-postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=demo -p 5432:5432 -d postgres:15
wrangler.toml
:[plugins.data-sync]
sync_interval = 300 # 5 minutes
tables = ["users", "products"]
Set up environment variables for database credentials
Test synchronization:
curl http://localhost:8787/sync-status
curl http://localhost:8787/sync-data
curl http://localhost:8787/debug
StarbaseDB instances could only:
StarbaseDB now supports:
David Anyatonwu
@onyedikachi-david
Outerbase (YC W23)
@outerbase