init readme, gitignore, server.cpp

master
Matt Huntington 3 years ago
commit ebdf8ed69b

3
.gitignore vendored

@ -0,0 +1,3 @@
*.swp
crow.h
a.out

@ -0,0 +1,4 @@
g++ -std=c++11 -Wall -Wextra -Werror server.cpp -lpthread
brew install asio
brew install boost

@ -0,0 +1,13 @@
#include "crow.h"
int main()
{
crow::SimpleApp app;
CROW_ROUTE(app, "/")([](){
return "Hello world";
});
app.port(18080).run();
}
Loading…
Cancel
Save