* initial commit

* get list of activities
* get activity by id
This commit is contained in:
Dávid Danyi
2017-01-27 16:45:14 +01:00
commit b5c307166e
31 changed files with 3299 additions and 0 deletions

18
public/index.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
// Delegate static file requests back to the PHP built-in webserver
if (php_sapi_name() === 'cli-server'
&& is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))
) {
return false;
}
chdir(dirname(__DIR__));
require 'vendor/autoload.php';
/** @var \Interop\Container\ContainerInterface $container */
$container = require 'config/container.php';
/** @var \Zend\Expressive\Application $app */
$app = $container->get(\Zend\Expressive\Application::class);
$app->run();