<?php
use Luticate\Utils\Controller\LuticateApplication;

require_once __DIR__ . '/../vendor/autoload.php';

$json = file_get_contents(__DIR__ . '/../config.json');
$config = json_decode($json, true);

$app = new LuticateApplication($config);

$app->setVersion(1.0);

$app->setupRoutes();

return $app;