Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A technical exploration of the Ash Framework and Electric integration: combining Ash writes with Electric reads in a distributed Elixir system.

Notifications You must be signed in to change notification settings

JKWA/electric-ash

Repository files navigation

Superhero Dispatch

An exploration of building real-time applications with Ash Framework and Electric SQL.

About

This project explores two complementary technologies:

  • Ash Framework - A declarative extension of Ecto that defines resources with schemas and actions, reducing boilerplate while enforcing consistent patterns through an opinionated design.
  • Electric SQL with Phoenix Sync - A real-time sync engine that watches the Postgres WAL and streams changes directly to clients, eliminating manual PubSub logic, subscriptions, and message ordering concerns.

Getting Started

Prerequisites

  • Elixir
  • Docker & Docker Compose

Quick Start

# Setup and start
make setup
make server

# Or using mix
mix setup && mix docker.start
iex -S mix phx.server

Visit localhost:4000 from your browser.

Project Technologies

About

A technical exploration of the Ash Framework and Electric integration: combining Ash writes with Electric reads in a distributed Elixir system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published