Spooky is the latest framework inspired by The Chairman, this time in Erlang:

-module(spooky_get_hello_world).
-behaviour(spooky).

-export([init/1, get/3]).

init([])->
    [{port, 8000}, {handlers, [?MODULE]}].

get(_Req, [], _State)->
    {200, "Hello world"};
get(_Req, [Name], _State)->
    {200, "Hello world, " ++ Name}.

/from Alen Mujezinovic


Have comments? Send a tweet to @TheChangelog on Twitter.

Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.