2025-01-27 11:46:54 +01:00

16 lines
496 B
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
use App\Http\Controllers\Api\ArticleController;
Route::get('articles', [ArticleController::class, 'index']);
// Route::post('articles', [ArticleController::class, 'store']);
// Route::get('articles/{id}', [ArticleController::class, 'show']);
// Route::put('articles/{id}', [ArticleController::class, 'update']);
// Route::delete('articles/{id}', [ArticleController::class, 'destroy']);