Starting to get things rolling
This commit is contained in:
12
lib/resource_owner/application.ex
Normal file
12
lib/resource_owner/application.ex
Normal file
@@ -0,0 +1,12 @@
|
||||
defmodule ResourceOwner.Application do
|
||||
use Application
|
||||
|
||||
@impl true
|
||||
def start(_type, _args) do
|
||||
children = [
|
||||
ResourceOwner.Repo,
|
||||
]
|
||||
opts = [strategy: :one_for_one, name: ResourceOwner.Supervisor]
|
||||
Supervisor.start_link(children, opts)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user