Pub Sub Demo
A demo meant to show how you can send out notification based directly on changes to your database using Phoenix PubSub and Postgrex.
To start your Phoenix server:
- Install dependencies with
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
Now you can visit
localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.