Skip to main content


ElectricSQL is designed to work with any Postgres-backed system. You don't need a backend framework to use Electric.


You can use any migrations framework that supports executing arbitrary SQL. This includes executing raw SQL statements.

See the other framework examples in this section for pointers.

Migrations proxy

Migrations should be applied via the migrations proxy as detailed in the migrations guide.


If you don't have a data model already and you're looking for a tool to define and manage your Postgres database schema, we recommend using Prisma.

Event sourcing

There are lots of ways of consuming and responding to data change events with Postgres. See Integrations -> Event sourcing for more information.


If you're looking for a web framework that works well with realtime data processing and event sourcing, we recommend Phoenix.