The server is written in lua using the Lua Event Machine, along with the stream and PostgreSQL libraries for it.
The servers response to an AJAX call can easily be checked by using jason-xs
- which format it nicely - in the following way:
sudo apt-get libjson-xs-perl
curl -s http://server-addr. | json-xs | less