An example of web server
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
WebServerExample
npl_packages
.gitignore
.gitmodules
README.md
start.bat
start.sh
stop.sh

README.md

Example Web Server

How To Install

Install NPLRuntime, then

git clone https://github.com/NPLPackages/WebServerExample.git

Run ./start.sh on linux, or start.bat on windows, or run with following npl command directly.

npl -d root="WebServerExample/" port="8099" bootstrapper="script/apps/WebServer/WebServer.lua"

To test it, open http://localhost:8099

Dependencies:

Web server root directory is WebServerExample/