crowsite/libs/crow/examples/helloworld.cpp

14 lines
165 B
C++

#include "crow.h"
int main()
{
crow::SimpleApp app;
CROW_ROUTE(app, "/")
([]() {
return "Hello, world!";
});
app.port(18080).run();
}