$ luarocks install restserver
RestServer is a simple, pure-Lua toolkit for writing REST services
that run over WSAPI. It requires a connector plugin for running
the actual server, such as restserver-xavante, which runs it on
top of Xavante.