#include "dbControllService.h"
#include <drogon/drogon.h>
#include <iostream>
int main() {
  using namespace drogon;
  app().loadConfigFile("../config.json");
  app().addListener("0.0.0.0", 5555);
  app().getLoop()->queueInLoop([]() {
    async_run([]() -> Task<> {
      try {
      } catch (const std::exception &e) {
        std::cerr << "TEST ERROR: " << e.what() << std::endl;
      }
      app().quit();
    });
  });
  app().run();
  return 0;
}