Aded documentation module

This commit is contained in:
Mark Gregory
2026-06-12 15:23:17 +01:00
parent 7bc8f20ed5
commit a2c68bc4dc
40 changed files with 506 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| 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::middleware('auth:api')->get('/documentation', function (Request $request) {
return $request->user();
});
+16
View File
@@ -0,0 +1,16 @@
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::prefix('documentation')->group(function() {
Route::get('/', 'DocumentationController@index');
});