How juanpablonie77-droid/derma-sim works
Derma-Sim is an educational dermatology case simulator: students authenticate, browse and inspect a case, submit a diagnostic decision, then receive an AI tutor’s evaluation and feedback. The server also supports clinical case activation and reviewer scoring of session metrics. The graph separates presentation, API, domain workflows, and persistence/tutoring. Relationships are limited to calls and dependencies visible in excerpts or the SOURCE INDEX, plus the README’s documented client-server boundary; unsampled details are not inferred.
Main entry points: main.js Vue application · routes.js HTTP routes · api.js API client · SesionService.js Session and evaluation
Components 20
Student presentation
- Vue application
client/src/main.js - App shell
client/src/App.vue - Login and registration
client/src/views/Login.vue - Auth store
client/src/stores.js - Case listing
client/src/views/Casos.vue - Case viewer
client/src/views/Visor.vue - Decision form
client/src/views/Decision.vue - Evaluation result
client/src/views/Resultado.vue - Workflow steps
client/src/components/Pasos.vue - API client
client/src/api.js
API and access
- HTTP routes
server/src/routes.js - Access middleware
server/src/middleware.js - Domain errors
server/src/errores.js
Case and session workflows
- Case catalog and review
server/src/services/CasoService.js - Session and evaluation
server/src/services/SesionService.js - Session transitions
server/src/services/estados.js
Tutor and persistence
- AI tutor adapter
server/src/tutor/index.js - SQLite database
server/src/db.js
Other components
- Student
- Clinical reviewer
Connections 32
- Student → Vue application: uses
README.md - Clinical reviewer → Vue application: uses
README.md - Vue application → App shell: mounts
client/src/main.js - Vue application → Login and registration: routes to
client/src/main.js - Vue application → Case listing: routes to
client/src/main.js - Vue application → Case viewer: routes to
client/src/main.js - Vue application → Decision form: routes to
client/src/main.js - Vue application → Evaluation result: routes to
client/src/main.js - App shell → Auth store: uses
client/src/App.vue - Login and registration → Auth store: uses
client/src/views/Login.vue - Auth store → API client: calls
client/src/stores.js - Case listing → API client: calls
client/src/views/Casos.vue - Case viewer → API client: calls
client/src/views/Visor.vue - Decision form → API client: calls
client/src/views/Decision.vue - Evaluation result → API client: calls
client/src/views/Resultado.vue - Case listing → Workflow steps: renders
client/src/views/Casos.vue - Decision form → Workflow steps: renders
client/src/views/Decision.vue - Evaluation result → Workflow steps: renders
client/src/views/Resultado.vue - API client → HTTP routes: requests API
README.md - HTTP routes → Access middleware: applies
server/src/routes.js - HTTP routes → Domain errors: raises
server/src/routes.js - HTTP routes → Case catalog and review: dispatches
server/src/routes.js - HTTP routes → Session and evaluation: dispatches
server/src/routes.js - HTTP routes → SQLite database: reads and writes
server/src/routes.js - HTTP routes → AI tutor adapter: creates
server/src/routes.js - Case catalog and review → SQLite database: reads and writes
server/src/services/CasoService.js - Case catalog and review → Domain errors: raises
server/src/services/CasoService.js - Session and evaluation → SQLite database: reads and writes
server/src/services/SesionService.js - Session and evaluation → Session transitions: validates transitions
server/src/services/SesionService.js - Session and evaluation → Domain errors: raises
server/src/services/SesionService.js - Session and evaluation → AI tutor adapter: evaluates with
server/src/services/SesionService.js - AI tutor adapter → Domain errors: raises
server/src/tutor/index.js