Elixir implementation of a basic binary tree with the insert operation, as well as a basic REST API using plug + tests.
The application is not dockerized. After downloading, it can be run locally by executing
mix run --no-halt
from inside the mix project. The API can be used with Postman.
If available in Hex, the package can be installed
by adding tree
to your list of dependencies in mix.exs
:
def deps do
[
{:tree, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/tree.