Initial commit: SuiviCPT personal finance tracker
Laravel 11 + Livewire 3/Volt + Alpine.js + Tailwind app for household budget planning, transaction tracking, and financial dashboards. - Multi-tenant households with member invites - Plan: monthly/yearly budget per category with overrides - Suivi: transaction log with running balance (desktop + mobile quick-entry) - Dashboard: budget vs tracked breakdown + Chart.js donuts - Flux: Sankey diagram of income allocation - WCAG 2.1 AA color tokens, dark mode, accessible tables/forms - 50 Pest tests Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
use App\Livewire\Categories\Index as CategoriesIndex;
|
||||
use App\Livewire\Dashboard\Index as DashboardIndex;
|
||||
use App\Livewire\Household\AcceptInvite;
|
||||
use App\Livewire\Household\Create as HouseholdCreate;
|
||||
use App\Livewire\Household\Settings as HouseholdSettings;
|
||||
use App\Livewire\Plan\Index as PlanIndex;
|
||||
use App\Livewire\Sankey\Index as SankeyIndex;
|
||||
use App\Livewire\Suivi\Index as SuiviIndex;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::view('/', 'welcome');
|
||||
|
||||
Route::get('dashboard', DashboardIndex::class)
|
||||
->middleware(['auth', 'verified', 'household'])
|
||||
->name('dashboard');
|
||||
|
||||
Route::view('profile', 'profile')
|
||||
->middleware(['auth'])
|
||||
->name('profile');
|
||||
|
||||
Route::get('households/create', HouseholdCreate::class)
|
||||
->middleware(['auth'])
|
||||
->name('households.create');
|
||||
|
||||
Route::get('household/settings', HouseholdSettings::class)
|
||||
->middleware(['auth', 'verified', 'household'])
|
||||
->name('household.settings');
|
||||
|
||||
Route::get('categories', CategoriesIndex::class)
|
||||
->middleware(['auth', 'verified', 'household'])
|
||||
->name('categories');
|
||||
|
||||
Route::get('plan', PlanIndex::class)
|
||||
->middleware(['auth', 'verified', 'household'])
|
||||
->name('plan');
|
||||
|
||||
Route::get('suivi', SuiviIndex::class)
|
||||
->middleware(['auth', 'verified', 'household'])
|
||||
->name('suivi');
|
||||
|
||||
Route::get('flux', SankeyIndex::class)
|
||||
->middleware(['auth', 'verified', 'household'])
|
||||
->name('sankey');
|
||||
|
||||
Route::get('invites/{token}', AcceptInvite::class)
|
||||
->name('invites.accept');
|
||||
|
||||
require __DIR__.'/auth.php';
|
||||
Reference in New Issue
Block a user