How mfro200/ihk_ap2_fiae works
This is a Vue/NestJS application for studying IHK FIAE exams: users browse exam documents and OCR findings, enter solutions, request AI scoring, and review training or psychological analyses. The backend exposes domain APIs backed by Prisma, while PDFs and uploaded answer media are stored as files. The README documents broader capabilities such as full-text search, versioning, and WISO practice; those are represented even where their implementation was not sampled. Some frontend-to-API wiring and unsampled service internals remain unverified.
Main entry points: index.ts Page routing · dokumente.controller.ts Exam and document API · api.ts HTTP API client · app.module.ts Backend module registry
Components 27
Study interface
- Application shell
frontend/src/App.vue - Page routing
frontend/src/router/index.ts - Exam browsing
frontend/src/views/PruefungenView.vue - PDF viewer
frontend/src/views/PdfViewerView.vue - Search and terms
frontend/src/views/VolltextSucheView.vue - Solution editor
frontend/src/views/PruefungBearbeitenView.vue - Scoring interface
frontend/src/views/BewertungView.vue - Training plan
frontend/src/views/TrainingsplanView.vue - Psychological profile
frontend/src/views/PsychoAnalyseView.vue - HTTP API client
frontend/src/services/api.ts
Exam content
- Exam and document API
backend/src/dokumente/dokumente.controller.ts - Exam records
backend/src/pruefungen/pruefungen.service.ts - PDF storage
backend/src/dokumente/dokumente.controller.ts - PDF versioning
backend/src/versionen/versionen.controller.ts - OCR full-text search
backend/src/seiten/seiten.service.ts - Score terms
backend/src/suchbegriffe/suchbegriffe.service.ts - Exam term hits
backend/src/treffer/treffer.service.ts
Practice and assessment
- Answers and uploads
backend/src/antworten/antworten.service.ts - AI scoring and extraction
backend/src/bewertung/bewertung.service.ts - WISO practice
frontend/src/views/PruefungsbereichView.vue
Learning analysis
- Progress dashboard
frontend/src/views/DashboardView.vue - Psychological analysis
backend/src/psycho-analyse/psycho-analyse.service.ts
Persistence
- Database access
backend/src/prisma/prisma.service.ts - PostgreSQL
- Backend module registry
backend/src/app.module.ts
Other components
- Learner
- AI providers
Connections 38
- Learner → Application shell: uses
- Application shell → Page routing: loads routes
frontend/src/App.vue - Page routing → Exam browsing: routes to
frontend/src/router/index.ts - Page routing → PDF viewer: routes to
frontend/src/router/index.ts - Page routing → Search and terms: routes to
frontend/src/router/index.ts - Page routing → Solution editor: routes to
frontend/src/router/index.ts - Page routing → Scoring interface: routes to
frontend/src/router/index.ts - Page routing → Training plan: routes to
frontend/src/router/index.ts - Page routing → Psychological profile: routes to
frontend/src/router/index.ts - Exam browsing → HTTP API client: requests data
- PDF viewer → HTTP API client: requests PDF
- Search and terms → HTTP API client: requests search
- Solution editor → HTTP API client: saves answers
- Scoring interface → HTTP API client: requests scoring
- Training plan → HTTP API client: requests progress
- Psychological profile → HTTP API client: requests profile
- HTTP API client → Exam and document API: calls REST API
- Exam and document API → PDF storage: streams and writes
backend/src/dokumente/dokumente.controller.ts - Exam and document API → Exam records: loads exams
- Exam and document API → PDF versioning: manages versions
- Exam and document API → OCR full-text search: serves OCR search
- Exam and document API → Score terms: serves term search
- Exam and document API → Exam term hits: serves hit statistics
- Solution editor → WISO practice: supports practice
- Solution editor → Answers and uploads: stores solutions
- Answers and uploads → Database access: reads and writes
backend/src/antworten/antworten.service.ts - Scoring interface → AI scoring and extraction: requests evaluation
- AI scoring and extraction → AI providers: calls providers
- AI scoring and extraction → Database access: loads and stores scores
backend/src/bewertung/bewertung.service.ts - Psychological profile → Psychological analysis: requests analysis
- Psychological analysis → Database access: reads learning data
backend/src/psycho-analyse/psycho-analyse.service.ts - Progress dashboard → HTTP API client: loads statistics
- Database access → PostgreSQL: queries
- Backend module registry → Exam and document API: registers module
backend/src/app.module.ts - Backend module registry → Answers and uploads: registers module
backend/src/app.module.ts - Backend module registry → AI scoring and extraction: registers module
backend/src/app.module.ts - Backend module registry → Psychological analysis: registers module
backend/src/app.module.ts - Backend module registry → Database access: registers module
backend/src/app.module.ts