delete backend, starting over
This commit is contained in:
parent
babf9eb855
commit
f6a33cf620
51 changed files with 0 additions and 6655 deletions
|
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
|
||||
use DI\Bridge\Slim\Bridge;
|
||||
use Slim\App;
|
||||
|
||||
(static function (): void {
|
||||
$root = dirname(__DIR__);
|
||||
|
||||
require $root . '/vendor/autoload.php';
|
||||
|
||||
$dotenv = Dotenv\Dotenv::createImmutable($root);
|
||||
$dotenv->safeLoad();
|
||||
|
||||
require $root . '/config/database.php';
|
||||
|
||||
$container = require $root . '/config/container.php';
|
||||
|
||||
/** @var App $app */
|
||||
$app = Bridge::create($container);
|
||||
|
||||
(require $root . '/config/routes.php')($app);
|
||||
|
||||
$app->run();
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue