Moonwalk
Zero-friction REST APIs for Lua.
For normal use, you'll only need to require the api module. README.md covers most of what you need to know to create an API.
You may also want to use drive to help serve files, or proto for simple OOP-style inheritance, or take advantage of the text processing utilities in util .
To add support for a new host environment, see connection.abstract (and for ideas on creating your own stand-alone server, take a look at the server.socket and server.luanode source).
Modules
example.user | User stuff |
moonwalk.api | Moonwalk core module. |
moonwalk.api.class | API class. |
moonwalk.api.model | API model. |
moonwalk.api.operation | API operation. |
moonwalk.connection | Connection between host and client. |
moonwalk.connection.abstract | Abstract connection. |
moonwalk.drive | Filesystem utilities. |
moonwalk.proto | Simple prototypal inheritance. |
moonwalk.resources | Swagger API Declarations and Resource Listings. |
moonwalk.server.luanode | LuaNode Server |
moonwalk.server.socket | Moonwalk SocketServer |
moonwalk.sugar | Syntax sugar. |
moonwalk.util | Text processing utilities. |
moonwalk.validator | Type conversion and validation |
Topics
README.md |
Examples
index.lua | |
user.lua |