wlua demo
A demo for wlua
docker run -p 2888:2888 -d hanxi/wlua-demo:masterSee website in browser http://localhost:2888 .
Install wlua see hanxi/wlua#readme .
git clone [email protected]:hanxi/wlua-demo.git
cd wlua-demo
git sumodule update --init
wlua start
tail -F log/wlua.logFront web fork from https://github.com/PanJiaChen/vue-admin-template/ , see https://juejin.cn/post/6844903476661583880 to learn how to use.
Use wlua implement this apis:
- /user/login [POST]
- /user/logout [POST]
- /user/info [GET]
- /table/list [GET]
Api code in app/routes/user.lua and app/routes/table.lua .


