lefant / erlrest

minimal http server which will listen for certain rest routes and will be able to communicate in json to start with

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

erlrest

Erlang/OTP rest server listening for user specified routes.
Communicating in json.

Requires:

erlang-jiffy

Usage:

make all
. start.sh
To stop:
. stop.sh

Info:

rest_server_app :: OTP application
route_handler :: Normal erl file
battle_ship :: Normal erl file
tcp_listener :: OTP gen_server
tcp_reply :: OTP gen_server
commands :: Normal erl file

OTP design (and a lot of the code) taken from:
http://erlangcentral.org/wiki/index.php?title=Building_a_Non-blocking_TCP_server_using_OTP_principles

About

minimal http server which will listen for certain rest routes and will be able to communicate in json to start with


Languages

Language:Erlang 78.4%Language:Haskell 13.5%Language:Python 7.3%Language:Shell 0.7%