Initial commit - Katica Bufe project
This commit is contained in:
12
routes/api.php
Normal file
12
routes/api.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\kategoriaController;
|
||||
use App\Http\Controllers\forgalomController;
|
||||
|
||||
Route::get("/adatok",[kategoriaController::class, "index"]);
|
||||
Route::put("/rendeles",[forgalomController::class, "update"]);
|
||||
Route::delete("/rendeles/{id}",[forgalomController::class, "destroy"]);
|
||||
|
||||
Route::get("/forgalomadatok",[forgalomController::class, "index"]);
|
||||
8
routes/console.php
Normal file
8
routes/console.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote');
|
||||
7
routes/web.php
Normal file
7
routes/web.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
Reference in New Issue
Block a user