electric-sql/electric ? reverse-engineered prompt

Reverse engineered prompt

Build me a real time sync service for Postgres that lets an app keep reading live database data without writing my own replication logic.

I want it to connect to a Postgres database with logical replication enabled, expose a simple HTTP API for syncing tables or filtered subsets of tables, and support partial replication so clients can subscribe only to the data they need. It should be able to run locally with Docker Compose, include a basic dashboard for monitoring, and have a clean docs site with a quickstart and API reference.

Please also include simple client examples, especially a TypeScript and React way to consume the synced data, plus a few demo apps I can try. If anything in the current docs is outdated, fix it as you go, and look up current docs online if you need to. Make sure the whole thing feels polished enough for developers to use right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab