simple app

This commit is contained in:
talksik
2023-09-11 17:50:55 -07:00
parent 0106908829
commit 6b8fd48fdb
+7 -1
View File
@@ -1,6 +1,12 @@
#include <iostream>
#include "../include/crow_all.h"
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
crow::SimpleApp app;
CROW_ROUTE(app, "/")([]() { return "Hello world"; });
app.port(3000).multithreaded().run();
}