feat: add breath colors

This commit is contained in:
2026-06-16 18:52:25 +03:30
parent 81ac4a896f
commit 42f3808343
9 changed files with 206 additions and 8 deletions
+4
View File
@@ -4,6 +4,7 @@
use Illuminate\Support\Facades\Route;
use Laravel\Socialite\Facades\Socialite;
use App\Http\Controllers\BreathingExerciseController;
use App\Http\Controllers\BreathingColorController;
use App\Http\Controllers\PackageNameController;
use App\Http\Controllers\ProductController;
use App\Http\Controllers\BreathingTemplate;
@@ -109,6 +110,9 @@
Route::get('user-templates', [BreathingExerciseController::class, 'getUserTemplates']);
Route::get('breathing-sessions', [BreathingExerciseController::class, 'getSessions']);
// Breathing color palette (app reads it to pick a template color; admin manages it).
Route::apiResource('breathing-colors', BreathingColorController::class);
/// worry box feature
Route::prefix('worries')->controller(WorryController::class)->group(function () {
Route::post('/', 'store'); // Create worry + note