2023-03-17 14:33:48 +00:00
|
|
|
<?php
|
|
|
|
|
2023-03-27 08:44:31 +00:00
|
|
|
use App\Http\Controllers\HomeController;
|
2023-03-28 20:13:08 +00:00
|
|
|
use App\Http\Controllers\ProjectController;
|
2023-03-17 14:33:48 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider and all of them will
|
|
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2023-03-27 08:44:31 +00:00
|
|
|
|
2023-03-20 12:04:22 +00:00
|
|
|
|
2023-03-24 13:54:17 +00:00
|
|
|
Route::middleware(['auth'])->group(function () {
|
2023-03-28 20:13:08 +00:00
|
|
|
Route::get('/', [HomeController::class, 'show'])->name('home');
|
|
|
|
Route::get('/project/{project_uuid}', [ProjectController::class, 'environments'])->name('project.environments');
|
2023-03-29 10:52:22 +00:00
|
|
|
|
2023-03-28 20:13:08 +00:00
|
|
|
Route::get('/project/{project_uuid}/{environment_name}', [ProjectController::class, 'resources'])->name('project.resources');
|
2023-03-29 10:52:22 +00:00
|
|
|
|
2023-03-28 20:13:08 +00:00
|
|
|
Route::get('/project/{project_uuid}/{environment_name}/application/{application_uuid}', [ProjectController::class, 'application'])->name('project.application');
|
|
|
|
Route::get('/project/{project_uuid}/{environment_name}/application/{application_uuid}/deployment/{deployment_uuid}', [ProjectController::class, 'deployment'])->name('project.deployment');
|
2023-03-29 10:52:22 +00:00
|
|
|
|
2023-03-28 20:13:08 +00:00
|
|
|
Route::get('/project/{project_uuid}/{environment_name}/database/{database_uuid}', [ProjectController::class, 'database'])->name('project.database');
|
|
|
|
Route::get('/project/{project_uuid}/{environment_name}/service/{service_uuid}', [ProjectController::class, 'service'])->name('project.service');
|
|
|
|
|
2023-03-24 13:54:17 +00:00
|
|
|
Route::get('/profile', function () {
|
|
|
|
return view('profile');
|
|
|
|
});
|
|
|
|
Route::get('/demo', function () {
|
|
|
|
return view('demo');
|
|
|
|
});
|
|
|
|
});
|