env and vendor added temporary

This commit is contained in:
2025-04-09 16:39:53 +02:00
parent 35e90c283e
commit 43b1cb2202
10304 changed files with 1205060 additions and 254 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application.
| Enjoy building your API!
|
*/
Route::group(['middleware' => 'auth'], function () {
Route::apiResource('/announcements', 'AnnouncementsController')
->except('show')
->names('announcements.api');
Route::get('announcements/{announcementId}', 'AnnouncementsController@show');
Route::post('announcements/read', 'ReadAnnouncementsController@index');
});
+21
View File
@@ -0,0 +1,21 @@
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application.
| Now create something great!
|
*/
Route::group(['middleware' => ['auth', 'verified']], function () {
Route::get('announcements/list', 'AnnouncementListController@index')
->name('announcements.list');
Route::post('announcements/read', 'ReadAnnouncementsController@index')
->name('announcements.read');
Route::resource('announcements', 'AnnouncementsController');
});