ElectricSQL Elixir client

An Elixir client for ElectricSQL.

Electric is a sync engine that allows you to sync little subsets of data from Postgres into local apps and services. This client allows you to sync data from Electric into Elixir applications.

Installation

def deps do
  [
    {:electric_client, "~> 0.1.0"}
  ]
end

Usage

See the Documentation.

Testing

Run Electric and Postgres.

Define DATABASE_URL and ELECTRIC_URL as env vars. Or see the defaults in config/runtime.exs.

Then run:

mix test