Phoenix で、受け取った URL をどうやってディスパッチしているのか気になったので、mix phoenix.new hello_world で生成したプロジェクトから、順番に読んでいった。 HelloWorld.start/2 hello_world/lib/hello_world.ex: defmodule HelloWorld do ... def start(_type, _args) do ... children = [ # Start the Ecto repository supervisor(HelloWorld.Repo, []), # Start the endpoint when the application starts supervisor(HelloWorld.Endpoint, []), ] opts = [strategy: :one_for_on
