A minimal try-out using Elixir, HTTP, REST and JSON.
If available in Hex, the package can be installed
by adding elixir_rest to your list of dependencies in mix.exs:
def deps do
[
{:elixir_rest, "~> 0.1.0"}
]
endYou can test as follows:
mix testYou can run as follows:
mix run --no-halt
curl http://localhost:8080/Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_rest.