E-commerce in Elixir - pros and cons (vs Rails)

Hi I come from Rails and I’m building a kind of Shoppify clone with some custom things for my country, I’m convinced that Phoenix/Elixir was the right choice, It has every thing to create a E-Commerce site. I even had to create a electronic invoice using a P12 Certificate and I was able to do using erlang libraries (from elixir), Phoenix is amazing and with liveview complex interfaces was easy to do. An E-Commerce platform is a big thing you have orders, customers, inventories, shipping, etc. there are many things, but I feel that Phoenix/Liveview help a lot.

if it can help this is my current mix.ex

  defp deps do
    [
      {:phoenix, "~> 1.5.8"},
      {:phoenix_ecto, "~> 4.2.1"},
      {:ecto_sql, "~> 3.5.4"},
      {:postgrex, ">= 0.15.8"},
      {:phoenix_html, "~> 2.14.3"},
      {:phoenix_live_reload, "~> 1.3.0", only: :dev},
      {:phoenix_live_dashboard, "~> 0.4.0"},
      {:telemetry_metrics, "~> 0.6.0"},
      {:telemetry_poller, "~> 0.4"},
      {:gettext, "~> 0.11"},
      {:jason, "~> 1.2.2"},
      {:plug_cowboy, "~> 2.4.1"},
      {:bcrypt_elixir, "~> 2.3.0"},
      {:ex_machina, "~> 2.7.0", only: :test},
      {:wallaby, "~> 0.28.0", runtime: false, only: :test},
      {:credo, "~> 1.5.5", only: [:dev, :test], runtime: false},
      {:git_hooks, "~> 0.5.2", only: [:test, :dev], runtime: false},
      {:phoenix_live_view, "~> 0.15.4"},
      {:floki, ">= 0.30.0", only: :test},
      {:cachex, "~> 3.3"},
      {:money, "~> 1.8.0"},
      {:liquex, "~> 0.5.0"},
      {:puid, "~> 1.0"},
      {:ecto_enum, "~> 1.4"},
      {:attrition, "~> 0.1.0"},
      {:poison, "~> 4.0"},
      {:geocoder, "~> 1.1.0"},
      {:countries, "~> 1.5"},
      {:mox, "~> 1.0", only: :test},
      {:struct_access, "~> 1.1"},
      {:bamboo, "~> 2.0.1"},
      {:bamboo_phoenix, "~> 1.0"},
      {:bamboo_ses, "~> 0.2.0"},
      {:grpc, "~> 0.3.1"},
      {:cowlib, "~> 2.8.1", hex: :grpc_cowlib, override: true},
      {:timex, "~> 3.7.3"},
      {:oban, "~> 2.5"},
      {:mimic, "~> 1.4", only: :test},
      {:excoveralls, "~> 0.14", only: :test},
      {:httpoison, "~> 1.8"}
    ]
  end

One of my favorite lib is liquex Liquex — liquex v0.5.0 you can use liquid lang for your templates.

Regards!

4 Likes