1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-23 23:07:46 +01:00
2021-10-04 10:30:51 +02:00

28 lines
705 B
PHP

<?php
/** @noinspection UnusedFunctionResultInspection */
use App\Http\Controllers\Api\UserController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::apiResource('users', UserController::class);
/*
* Prossimamente, per le chiamate alla API autenticate:
*
* Route::middleware('auth:api')->group(function () {
});
*/