Sample REST server in Elixir
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config Tabs Oct 6, 2017
lib lib/elixirrest/agent_worker.ex -> lib/elixirrest/agent.ex Oct 6, 2017
rel Add distillery Oct 8, 2017
.gitignore First implementation Oct 6, 2017
README.md Add start doc Oct 8, 2017
mix.exs Add distillery Oct 8, 2017
mix.lock Add distillery Oct 8, 2017

README.md

Elixirrest - sample REST server in Elixir

Start

mix do deps.get, compile
eix -S mix

Endpoints

curl -XPOST -d "name=test" http://localhost:3030/items
curl http://localhost:3030/items

Executable

Project uses distillery for deployments. To build it run:

mix release.init
mix release

To start it run:

./_build/dev/rel/elixisrrest/bin/elixisrrest start