Build and Deploy to Synology NAS / test (push) Failing after 1h20m56s
Build and Deploy to Synology NAS / build (push) Failing after 11m7s
Build and Deploy to Synology NAS / deploy (push) Has been cancelled
Build and Deploy to Synology NAS / notify (push) Has been cancelled
- Add Gitea Actions workflow for automated build and deployment - Add deployment script for Synology NAS - Add Docker Compose configurations for production deployment - Add Gitea runner setup - Add comprehensive documentation for CI/CD setup - Add health check endpoint for deployment verification - Update .gitignore for CI/CD artifacts
60 lines
1.8 KiB
PHP
60 lines
1.8 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Laravel\Fortify\Features;
|
|
use Livewire\Volt\Volt;
|
|
|
|
Route::get('/', function () {
|
|
return view('welcome');
|
|
})->name('home');
|
|
|
|
Route::get('/health', function () {
|
|
return response()->json([
|
|
'status' => 'healthy',
|
|
'timestamp' => now()->toIso8601String(),
|
|
'app' => config('app.name'),
|
|
'env' => config('app.env'),
|
|
]);
|
|
})->name('health');
|
|
|
|
Route::view('dashboard', 'dashboard')
|
|
->middleware(['auth', 'verified'])
|
|
->name('dashboard');
|
|
|
|
Volt::route('company-search', 'company-search')
|
|
->middleware(['auth', 'verified'])
|
|
->name('company-search');
|
|
|
|
Volt::route('transaction-review', 'transaction-review')
|
|
->middleware(['auth', 'verified'])
|
|
->name('transaction-review');
|
|
|
|
Volt::route('companies/{company}/transactions', 'companies.transactions')
|
|
->middleware(['auth', 'verified'])
|
|
->name('company.transactions');
|
|
|
|
Volt::route('upload', 'upload.index')
|
|
->middleware(['auth', 'verified'])
|
|
->name('upload');
|
|
|
|
Route::middleware(['auth'])->group(function () {
|
|
Route::redirect('settings', 'settings/profile');
|
|
|
|
Volt::route('settings/profile', 'settings.profile')->name('profile.edit');
|
|
Volt::route('settings/password', 'settings.password')->name('password.edit');
|
|
Volt::route('settings/appearance', 'settings.appearance')->name('appearance.edit');
|
|
|
|
Volt::route('settings/two-factor', 'settings.two-factor')
|
|
->middleware(
|
|
when(
|
|
Features::canManageTwoFactorAuthentication()
|
|
&& Features::optionEnabled(Features::twoFactorAuthentication(), 'confirmPassword'),
|
|
['password.confirm'],
|
|
[],
|
|
),
|
|
)
|
|
->name('two-factor.show');
|
|
});
|
|
|
|
require __DIR__.'/auth.php';
|