HTTP web application written in C++
- Linux
The following tools have to be installed in your linux environment
- gcc/g++ 13
- C++20 STL
- cmake (version 3.22 or later)
- make (version 4.3 or later)
cmake -S . -B build
cmake --build build
ctest --test-dir build
#include <lattice/jeans.hpp>
namespace lat = lattice;
int main() {
std::string ip = "127.0.0.1";
int port = 8080;
lat::app()
.http(ip, port)
.start();
return 0;
}