/restserver

A simple server API for writing REST services running over WSAPI

Primary LanguageLuaMIT LicenseMIT

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