Initial composer pkg release - attempt 1

This commit is contained in:
2025-09-04 10:48:32 +02:00
parent 01d53befb1
commit 09570da7b5
6 changed files with 852 additions and 12 deletions

13
public/index.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
use Slim\Factory\AppFactory;
use App\Controllers\WeatherController;
require __DIR__ . '/../vendor/autoload.php';
$app = AppFactory::create();
// Routes
$app->get('/weather/{city}', [WeatherController::class, 'get']);
// Run app
$app->run();