How salasjimenez/proy.dale works
Dale is a Spanish-language practice platform for rehearsing real conversations with Charmy and reviewing communication progress. The main workflow is to choose a scenario, practice by text or voice, complete a session, and inspect feedback and progress. The graph includes the frontend entry points and documented product areas, plus API, authentication, session, and persistence layers. Some frontend modules and backend services were not sampled; their role is based on the README and source index, so uncertain connections are omitted.
Main entry points: index.ts API route registry · api.ts API client · auth.ts Authentication guard · auth.routes.ts Authentication routes
Components 28
Practice experience
- Practice simulator
frontend/src/components/vue/PracticeSimulator.vue - Voice capture
frontend/src/components/vue/VoiceCapture.vue - Scenario sequence
frontend/src/lib/sequence.ts - Charmy trial
frontend/src/lib/charmyTrial.ts - Training planner
frontend/src/lib/training.ts
Frontend experience
- Sign-in form
frontend/src/components/vue/AuthForm.vue - API client
frontend/src/lib/api.ts - Scenario catalog
frontend/src/components/vue/ScenarioCatalog.vue - Progress dashboard
frontend/src/components/vue/ProgressDashboard.vue - Scenario map
frontend/src/components/vue/ScenarioMapDashboard.vue - Voice analytics
frontend/src/components/vue/VoiceAnalyticsDashboard.vue
Backend API
- HTTP server
backend/src/server.ts - API middleware
backend/src/app.ts - API route registry
backend/src/routes/index.ts - Authentication routes
backend/src/routes/auth.routes.ts - Authentication guard
backend/src/middleware/auth.ts - Scenario routes
backend/src/routes/escenarios.routes.ts - Session routes
backend/src/routes/sesiones.routes.ts - Progress routes
backend/src/routes/progreso.routes.ts - Map routes
backend/src/routes/mapa.routes.ts
Domain and data
- Account service
backend/src/services/auth.service.ts - Scenario service
backend/src/services/escenarios.service.ts - Session and feedback
backend/src/services/sesiones.service.ts - Progress service
backend/src/services/progreso.service.ts - Scenario map service
backend/src/services/mapa.service.ts - PostgreSQL data
backend/src/lib/prisma.ts
Other components
- Learner
- Browser client
Connections 38
- Learner → Sign-in form: submits credentials
frontend/src/components/vue/AuthForm.vue - Sign-in form → API client: posts credentials
frontend/src/components/vue/AuthForm.vue - Browser client → API client: requests API
- API client → Authentication routes: sends API requests
- Learner → Scenario catalog: chooses scenario
- Scenario catalog → API client: loads scenarios
- Learner → Practice simulator: practices conversation
- Practice simulator → Voice capture: captures speech
- Scenario sequence → Voice capture: uses capture
frontend/src/lib/sequence.ts - Practice simulator → API client: submits session
- Learner → Charmy trial: tries Charmy
- Learner → Training planner: plans training
- Learner → Progress dashboard: reviews progress
- Learner → Scenario map: explores map
- Learner → Voice analytics: reviews voice metrics
- HTTP server → API middleware: serves requests
backend/src/server.ts - API middleware → API route registry: mounts API
backend/src/app.ts - API route registry → Authentication routes: registers routes
backend/src/routes/index.ts - API route registry → Scenario routes: registers routes
backend/src/routes/index.ts - API route registry → Session routes: registers routes
backend/src/routes/index.ts - API route registry → Progress routes: registers routes
backend/src/routes/index.ts - API route registry → Map routes: registers routes
backend/src/routes/index.ts - Authentication routes → Authentication guard: guards account routes
backend/src/routes/auth.routes.ts - Authentication routes → Account service: calls account actions
backend/src/routes/auth.routes.ts - Authentication guard → Account service: verifies user
backend/src/middleware/auth.ts - Scenario routes → Scenario service: calls scenario queries
backend/src/routes/escenarios.routes.ts - Session routes → Authentication guard: guards sessions
backend/src/routes/sesiones.routes.ts - Session routes → Session and feedback: calls session actions
backend/src/routes/sesiones.routes.ts - Session and feedback → Scenario service: reads scenario labels
backend/src/services/sesiones.service.ts - Progress routes → Authentication guard: guards progress
backend/src/routes/progreso.routes.ts - Progress routes → Progress service: calls progress queries
backend/src/routes/progreso.routes.ts - Progress service → Scenario service: uses scenario data
backend/src/services/progreso.service.ts - Map routes → Authentication guard: guards map
backend/src/routes/mapa.routes.ts - Map routes → Scenario map service: calls map queries
backend/src/routes/mapa.routes.ts - Account service → PostgreSQL data: reads and writes
backend/src/services/auth.service.ts - Scenario service → PostgreSQL data: reads scenarios
backend/src/services/escenarios.service.ts - Session and feedback → PostgreSQL data: stores sessions
backend/src/services/sesiones.service.ts - Progress service → PostgreSQL data: reads progress
backend/src/services/progreso.service.ts