Initial commit

This commit is contained in:
Kwesi Banson Jnr
2026-09-09 09:50:06 +00:00
commit c7f93a7dc1
8369 changed files with 517137 additions and 0 deletions

31
routes/web.php Normal file
View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Support\Facades\Route;
// Route::get('/', function () {
// return view('welcome');
// });
Auth::routes();
Route::get('/home', [App\Http\Controllers\DashboardController::class, 'index'])->name('home');
Route::get('/', [App\Http\Controllers\DashboardController::class, 'index'])->name('home');
// The main dashboard view
Route::get('/', [App\Http\Controllers\DashboardController::class, 'index'])->name('dashboard.index');
// The AJAX endpoint for jQuery to consume
Route::get('/api/dashboard/stats', [App\Http\Controllers\DashboardController::class, 'getStats'])->name('api.dashboard.stats');
Route::get('/services/create', [App\Http\Controllers\SubscriptionServiceController::class, 'create'])->name('services.create');
Route::post('/services', [App\Http\Controllers\SubscriptionServiceController::class, 'store'])->name('services.store');
Route::post('/services/test-connection', [App\Http\Controllers\SubscriptionServiceController::class, 'testConnection'])->name('services.test');
// routes/web.php
Route::get('/services/{id}/details', [App\Http\Controllers\DashboardController::class, 'details'])->name('services.details');