feat: subscriptions
CI / 🧪 Tests Laravel (push) Successful in 2m48s
CI / 🐳 Build & Push Image (push) Successful in 3m0s

This commit is contained in:
2026-08-07 11:53:46 +02:00
parent 99cb0e63e6
commit 2ece4b6e3e
51 changed files with 1489 additions and 254 deletions
+10
View File
@@ -2,6 +2,7 @@
use App\Http\Controllers\AuthController;
use App\Http\Controllers\BillingController;
use App\Http\Controllers\CertificationController;
use App\Http\Controllers\DeviceTokenController;
use App\Http\Controllers\FollowController;
use App\Http\Controllers\LegalDocumentController;
@@ -65,6 +66,15 @@ Route::middleware(['auth:sanctum', 'verified', 'not_suspended'])->prefix('billin
Route::post('portal', [BillingController::class, 'portal'])->middleware('throttle:account-action')->name('billing.portal');
});
Route::middleware(['auth:sanctum', 'verified', 'not_suspended'])
->prefix('certification')
->group(function (): void {
Route::get('/', [CertificationController::class, 'show'])->name('certification.show');
Route::post('identity-document', [CertificationController::class, 'store'])
->middleware('throttle:account-action')
->name('certification.identity.store');
});
// Workouts
Route::middleware(['auth:sanctum', 'verified', 'not_suspended'])->group(function (): void {
Route::get('workouts/calendar', [WorkoutSessionController::class, 'calendar'])->name('workouts.calendar');