pjg / hackerspace-elixir

Sample http server in Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackerspace

Sample http server in Elixir done as a part of Elixir Workshop in Hacker:Space Trójmiasto.

Installation

mix deps.get

Running

Run the server:

mix run -e "Server.start(4000)"

Test it:

curl -X POST -d a=a localhost:4000?test=test

Should return:

OK Łódź%

Running tests

To run all tests:

mix test

To run file watcher:

mix test.watch --stale

About

Sample http server in Elixir


Languages

Language:Elixir 100.0%