Integrating vis.js with Phoenix Live View

One of the projects here at Drover required us to show a directed graph representation of a flow that happens inside that service and, after looking into various alternatives, we settled on https://visjs.org/.

Since this project has a Phoenix LiveView...

OpenApiSpex with mix releases not working

OpenApiSpex is an Elixir lib to provide OpenAPI documentation for your Phoenix web application. The way it works is you annotate the controller functions with @doc statements where you specify what the request and responses should look like.

There is...

Execute dynamic code in Elixir

Sometimes you might need to execute code dynamically based - for instance - on the name of a module, akin to code reflection on other languages.

In Elixir one way this can be achieved is by using Erlang's :code module. As an example, say you want to...

Cool Elixir libraries

All Ruby/Rails developers know that for features neither provides, there is probably a Ruby Gem contributed by someone in the community that solves that problem.

Elixir’s equivalent to Ruby Gems are Hex packages. Hex is a package manager that provides...