diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..20ac063 --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,18 @@ +addErrorMiddleware(true, true, true); + +$app->get('/', function (Response $response) { + $response->getBody()->write("Hello world!"); + return $response; +}); + +return $app; diff --git a/bootstrap/container.php b/bootstrap/container.php new file mode 100644 index 0000000..3a35c97 --- /dev/null +++ b/bootstrap/container.php @@ -0,0 +1,9 @@ +run();