Browse Source

src: Add skeleton index file

master
Elis Hirwing 3 years ago
parent
commit
8963f86d5f
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 15
      public/index.php

15
public/index.php

@ -0,0 +1,15 @@
<?php
require_once(__DIR__.'/../vendor/autoload.php');
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
$app = new Slim\App();
/**
* Set up routes
*/
$app->get('/inventory/{item}', function (Request $request, Response $response, array $args) {
});
$app->run();
Loading…
Cancel
Save