build/docs: architecture, deps

This commit is contained in:
2026-03-13 18:50:16 +01:00
parent e9ae29d899
commit cc78558612
5 changed files with 383 additions and 3 deletions

23
mix.exs
View File

@@ -21,11 +21,28 @@ defmodule Parrhesia.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto, "~> 3.0"},
# Runtime: web + protocol edge
{:bandit, "~> 1.5"},
{:plug, "~> 1.15"},
# Runtime: storage adapter (Postgres first)
{:ecto_sql, "~> 3.12"},
{:postgrex, ">= 0.0.0"},
# Runtime: telemetry + prometheus exporter (/metrics)
{:telemetry_metrics, "~> 1.0"},
{:telemetry_poller, "~> 1.0"},
{:telemetry_metrics_prometheus, "~> 1.1"},
# Test tooling
{:stream_data, "~> 1.0", only: :test},
{:mox, "~> 1.1", only: :test},
{:bypass, "~> 2.1", only: :test},
{:websockex, "~> 0.4", only: :test},
# Project tooling
{:deps_changelog, "~> 0.3"},
{:igniter, "~> 0.6", only: [:dev, :test]}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end