defmodule ProviderService.Application do use Application def start(_type, _args) do children = [ ProviderService.Repo, ProviderService.CommandedApp, ProviderService.Projections.ProviderProjection, ProviderServiceWeb.Endpoint ] opts = [strategy: :one_for_one, name: ProviderService.Supervisor] Supervisor.start_link(children, opts) end end