For questions related to web framework for Lua and OpenResty.
Lapis is a framework for building web applications using moonscript or lua that runs inside of a customized version of nginx called openresty.
Basic sample in lua
local lapis = require "lapis"
local app = lapis.Application()
app:match("/", function(self)
return "Hello world!"
end)
return app
Basic sample in moonscript
lapis = require "lapis"
class extends lapis.Application
"/": =>
"Hello world!"
See also: