Learn how to set up a minimal CWIST HTTP web server and register a basic route handler.
cwist_app_create(): Allocates and initializes a new CWIST application instance.cwist_app_get(app, path, handler): Registers a GET route handler callback.cwist_app_listen(app, port): Binds to the target port and starts the non-blocking event loop.
mkdir build && cd build
cmake ..
make
./tut01Test with curl:
curl http://127.0.0.1:8080/
# Output: Hello, CWIST Web Framework!