开源软件名称(OpenSource Name):sumory/lor开源软件地址(OpenSource Url):https://github.com/sumory/lor开源编程语言(OpenSource Language):Lua 97.4%开源软件介绍(OpenSource Introduction):LorA fast and minimalist web framework based on OpenResty. local lor = require("lor.index")
local app = lor()
app:get("/", function(req, res, next)
res:send("hello world!")
end)
app:run() ExamplesInstallation
git clone https://github.com/sumory/lor
cd lor
make install
you can use homebrew-lor on Mac OSX.
Features
Docs & Community
Quick StartA quick way to get started with lor is to utilize the executable cli tool
$ lord -h
lor ${version}, a Lua web framework based on OpenResty.
Usage: lord COMMAND [OPTIONS]
Commands:
new [name] Create a new application
start Starts the server
stop Stops the server
restart Restart the server
version Show version of lor
help Show help tips Create app:
Start server:
Visit http://localhost:8888. TestsInstall busted, then run test
Homebrewhttps://github.com/syhily/homebrew-lor maintained by @syhily ContributorsLicense |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论