A simple server API for writing REST services running over WSAPI
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
restserver
rockspecs
LICENSE
README.md
restserver.lua

README.md

RestServer

A simple server API for writing REST services running over WSAPI.

A plugin for launching on Xavante is provided. Currently, it is the only way to run this out-of-the box.

Installing

luarocks install restserver-xavante

Using

Check the todo-list example in the examples/ directory. It should be easy to follow!

The server is a Lua script and the example client exercising the REST API provided by the server is a shell script powered by Curl.

Author

Hisham Muhammad - @hisham_hm - http://hisham.hm/

License

MIT/X11. Enjoy! :-D