Started backend for cv timeline data

This commit is contained in:
2021-08-22 10:44:49 +01:00
parent 60927cf6b6
commit edcc979319
8 changed files with 1811 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
////////////////// Index file //////////////
/// Creates base routes and runs ///
/// respective functions ///
////////////////////////////////////////////
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Factory\AppFactory;
require "routes.php";
require "./vendor/autoload.php";
// Start slim
$app = AppFactory::create();
// create middleware
$app->addRoutingMiddleware();
$errorMiddleware = $app->addErrorMiddleware(false, true, true);
$app->get("/timelineData", function (Request $request, Response $response)
{
});
+7
View File
@@ -0,0 +1,7 @@
<?php
class TimelineData
{
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB