Basically I'm creating an HTTP server (simple, but not too simple) in C++ using sockets and multi-threading.
There are two topics that I'm concerned about: the design pattern of my code structure and the efficiency of my thread implementation. Obs: I'm a little worried about C++ best practices, since I'm diving too fast into C++ (am I abusing of std items, since this requires a low-level implementation).
IMPORTANT: I'm using nlohmann/json and j-ulrich status-codes.
http-status-codes-cpp
Basically I'm mirroring NodeJS express API Usage: server.setRoute(path, route, callback);