safeLoad(); } error_reporting(E_ALL); $app = new App(); $authJwt = new JwtAuthMiddleware(); $app->get('/jwthelloworld', $authJwt,\Controllers\HelloController::class); $app->get('/me', $authJwt,\Controllers\MeController::class); $app->get('/dashboard/overview', $authJwt,\Controllers\DashboardOverviewController::class); $app->get('/interactions', $authJwt,\Controllers\InteractionsController::class); $app->get('/interactions/details', $authJwt,\Controllers\InteractionDetailsController::class); $app->post('/login', \Controllers\LoginController::class); $app->post('/register', \Controllers\RegisterController::class); $app->run();