scaffold some common services

This commit is contained in:
2026-07-16 22:58:57 -05:00
parent 13bfbd3479
commit 3a3f67c4ef
22 changed files with 427 additions and 22 deletions

0
server/src/App.cpp Normal file
View File

0
server/src/App.hpp Normal file
View File

View File

@@ -1,8 +1,15 @@
#include <iostream>
#include "common/config/ConfigService.hpp"
#include "common/config/LoggerConfig.hpp"
#include "common/LoggerService.hpp"
int main(int argc, char* argv[]) {
std::cout << "hi mom from server!" << std::endl;
ConfigService config {"server/config/main.cfg"}; // TODO: main config file should be the foremost cli argument
LoggerService logger {&config, "main"};
logger.log("main", LogFlag::Debug, "hello world from the server!");
}