Mix phx.server error - (ArgumentError) missing :adapter option on use Ecto.Repo

You are missing the :adapter.

It would look something like this:

defmodule BlogApp.Repo do
  use Ecto.Repo,
    otp_app: :blog_app,
    adapter: Ecto.Adapters.Postgres
end

You can read more about the setup in the docs