How coach-montanha/montanha-personal-studio works
Personal Studio is a web-based studio-management and personal-training product, with authenticated staff workflows and a student portal. Users sign in, enter an authenticated area, and work across finance, student management, scheduling, CRM, or training; students use portal routes for their profile and workouts. The app also exposes administration and MCP tool routes. Evidence is limited to the supplied source index and excerpts: route coverage and feature areas are visible, but most domain implementation and its data calls were not sampled, so those links are omitted.
Main entry points: routeTree.gen.ts Route registry · client.ts Browser data client · route.tsx Authenticated layout · auth.tsx Sign-in and registration
Components 25
Entry and access
- Application router
src/router.tsx - Route registry
src/routeTree.gen.ts - Sign-in and registration
src/routes/auth.tsx - Access validation
src/services/ecosystem-auth-service.ts - Session state
src/hooks/use-auth.ts - Authenticated layout
src/routes/_authenticated/route.tsx
Studio operations
- Staff application shell
src/components/edufinance/AppShell.tsx - Finance and payments
src/routes/_authenticated/financeiro.tsx - Student management
src/routes/_authenticated/students.index.tsx - Agenda and scheduling
src/routes/_authenticated/agenda.tsx - CRM and announcements
src/routes/_authenticated/crm.tsx
Personal training
- Trainer workspace
src/routes/_authenticated/personal-trainer/index.tsx - Exercise library
src/routes/_authenticated/personal-trainer/biblioteca.tsx - Training check-ins
src/routes/_authenticated/personal-trainer/checkin.tsx - Training timer
src/components/pt/TrainingTimerDialog.tsx
Student portal
- Student portal shell
src/components/portal/PortalShell.tsx - Student portal
src/routes/_authenticated/portal/index.tsx - Student workouts
src/routes/_authenticated/portal/pt/treino.tsx
Platform services
- Browser data client
src/integrations/supabase/client.ts - Privileged server client
src/integrations/supabase/client.server.ts - Storage operations
src/lib/storage-browser.functions.ts - Storage management
src/routes/_authenticated/storage.tsx - MCP financial tools
src/lib/mcp/index.ts
Other components
- Studio user
- Supabase service
Connections 28
- Studio user → Application router: opens app
- Application router → Route registry: uses routes
src/router.tsx - Route registry → Sign-in and registration: registers
src/routeTree.gen.ts - Route registry → Authenticated layout: registers
src/routeTree.gen.ts - Route registry → Finance and payments: registers
src/routeTree.gen.ts - Route registry → Student management: registers
src/routeTree.gen.ts - Route registry → Agenda and scheduling: registers
src/routeTree.gen.ts - Route registry → CRM and announcements: registers
src/routeTree.gen.ts - Route registry → Trainer workspace: registers
src/routeTree.gen.ts - Route registry → Exercise library: registers
src/routeTree.gen.ts - Route registry → Training check-ins: registers
src/routeTree.gen.ts - Route registry → Student portal: registers
src/routeTree.gen.ts - Route registry → Student workouts: registers
src/routeTree.gen.ts - Sign-in and registration → Access validation: checks access
src/routes/auth.tsx - Sign-in and registration → Browser data client: authenticates
src/routes/auth.tsx - Session state → Browser data client: reads session
src/hooks/use-auth.ts - Authenticated layout → Browser data client: checks session
src/routes/_authenticated/route.tsx - Authenticated layout → Staff application shell: renders staff shell
src/routes/_authenticated/route.tsx - Authenticated layout → Student portal shell: renders portal shell
src/routes/_authenticated/route.tsx - Staff application shell → Browser data client: uses data client
src/components/edufinance/AppShell.tsx - Student portal shell → Browser data client: uses data client
src/components/portal/PortalShell.tsx - Staff application shell → Training timer: opens timer
src/components/edufinance/AppShell.tsx - Student portal shell → Training timer: opens timer
src/components/portal/PortalShell.tsx - Storage management → Storage operations: manages files
src/routes/_authenticated/storage.tsx - Storage operations → Privileged server client: uses admin storage
src/lib/storage-browser.functions.ts - Browser data client → Supabase service: connects to
src/integrations/supabase/client.ts - Privileged server client → Supabase service: connects to
src/integrations/supabase/client.server.ts - MCP financial tools → Finance and payments: reports financial data