A web framework for Lua
What is it?
Lapis is a framework for building web applications in Lua (or MoonScript) that primarily targets OpenResty, a high performance web platform that runs on a customized version of Nginx. Lapis can also be used in other server environments, being compatible with any modern version of Lua.
local lapis = require "lapis"
local app = lapis.Application()
app:match("/", function(self)
return "Hello world!"
end)
return app
lapis = require "lapis"
class extends lapis.Application
"/": =>
"Hello w...
Read more at leafo.net