Changed from C# based system to own C++ implementation using crow.

This commit is contained in:
douwe
2025-08-06 00:22:27 +02:00
parent 6f03c84264
commit 66b3863388
109 changed files with 5905 additions and 1131 deletions

23
include/server.hpp Normal file
View File

@@ -0,0 +1,23 @@
#ifndef DOUWCO_SERVER_HPP
#define DOUWCO_SERVER_HPP
#include <crow.h>
namespace Douwco {
class Server {
public:
Server() = default;
~Server() = default;
void setup();
void start();
private:
static constexpr int port = 8080;
crow::SimpleApp crowApp;
};
}
#endif // DOUWCO_SERVER_HPP