Started backend for cv timeline data
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
class TimelineData
|
||||
{
|
||||
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 368 KiB |
Reference in New Issue
Block a user