Access rulesSync shapesLive queriesLocal writes
Craft how data syncs on and off onto your app using Shapes.
Shapes allow you to manage dynamic partial replication between Postgres in the cloud and SQLite in the local app.
const shape=await db.projects.sync({
where: {
owner_id: auth.user_id
},
include: {
issues: {
include: {
comments: {
include: {
author: true
}
}
}
}
}
});
Anurag Goel
Founder – Render
ElectricSQL is a great choice for a local-first sync layer that you can run anywhere yourself.
Johannes Schickling
Founder – Prisma
I’m very impressed with ElectricSQL’s approach to sync and their thoughtful API design.
José Valim
Creator – Elixir
ElectricSQL brings the full power of the Erlang VM to local-first software development.
Instant reactivityRealtime multi‑userConflict‑free offlineSimple to operateCheaper to runReliable by designStandard open‑sourceDrop‑in compatibleExisting applications
Open source
Apache 2.0 license. Open development on GitHub and Discord. Contributions welcome.
Self-host
One horizontally scalable sync service. No complex infra or durability requirements.
>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://electric-sql.com/