How palasuhas/eib-quiz works
EIB Quiz is a browser-based German/English citizenship-test practice app covering questions from Germany’s states, with illustrated questions and offline support. The principal workflow is a learner using the app to practice questions and receive answer feedback; the service worker supports loading those resources online or from cache. The sampled files show the worker’s caching behavior and the question/i18n data formats, but not the app’s runtime code or its request wiring, so those links are marked unverified. The repository also contains data-curation tools, which are not part of the runtime map.
Main entry points: sw.js Service worker · index.html Question practice · questions.json Question bank · i18n-source.mjs i18n data reader
Components 11
Quiz experience
- Quiz app
index.html - Question practice
index.html - Answer feedback
index.html
Quiz content
- Question bank
questions.json - Question images
img - Translations
i18n
Offline delivery
- Service worker
sw.js - Browser cache
Language data access
- i18n data reader
tools/i18n-source.mjs
Other components
- Learner
- Web network
Connections 12
- Learner → Quiz app: uses
- Quiz app → Question practice: hosts
- Question practice → Question bank: loads questions
- Question practice → Question images: shows images
- Question practice → Answer feedback: checks answers
- Quiz app → Translations: loads language data
- Service worker → Browser cache: reads and writes
sw.js - Service worker → Web network: fetches requests
sw.js - Service worker → Question bank: caches responses
sw.js - Service worker → Translations: caches responses
sw.js - i18n data reader → Quiz app: reads literals
tools/i18n-source.mjs - i18n data reader → Question bank: reads questions
tools/i18n-source.mjs