Skip to content

PostgreSQL CDC example using Elixir by cainophile/cainophile

Notifications You must be signed in to change notification settings

cristopher-rodrigues/postgrex-cdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealtimeTest

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Setup PostgreSQL bin/pg-setup.sh
  • Start the server through IEX iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

  • Through the IEX console add a new Pokemon
  %RealtimeTest.Pokemons.Pokemon{} |>
    RealtimeTest.Pokemons.Pokemon.changeset(%{name: Faker.Pokemon.name()}) |>
    RealtimeTest.Repo.insert()

About

PostgreSQL CDC example using Elixir by cainophile/cainophile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published