How to Create a Basic PubSub Application
From ElixirBlocks
This page is in progress
lib/app_name/application.ex
def start(_type, _args) do
children = [
# Start the Telemetry supervisor
AppWeb.Telemetry,
# Start the Ecto repository
App.Repo,
# Start the PubSub system
{Phoenix.PubSub, name: App.PubSub},
]
...
end