/elixir-rest

Figuring out how Elixir can do minimal REST + JSON

Primary LanguageElixir

ElixirRest

A minimal try-out using Elixir, HTTP, REST and JSON.

Installation

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"}
  ]
end

Testing

You can test as follows:

mix test

Running

You can run as follows:

mix run --no-halt
curl http://localhost:8080/

Documentation

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_rest.