Configured start of project
This commit is contained in:
commit
d7f95f0fbf
6 changed files with 65 additions and 0 deletions
12
src/main.cpp
Normal file
12
src/main.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "crow.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
crow::SimpleApp app;
|
||||
|
||||
CROW_ROUTE(app, "/")([](){
|
||||
return "Hello world";
|
||||
});
|
||||
|
||||
app.port(18080).multithreaded().run();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue