initial commit

This commit is contained in:
2024-09-27 10:15:33 -05:00
commit 8af69e2b47
9 changed files with 1565 additions and 0 deletions

18
public/index.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Factory\AppFactory;
require __DIR__ . '/../vendor/autoload.php';
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__ . '/..');
$dotenv->load();
$app = AppFactory::create();
// Include the routes
require __DIR__ . '/../src/routes.php';
$app->run();