Skip to content

hannsost/ap2-trainer-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AP2 Trainer

AP2 Trainer is a browser-based learning tool for the German Fachinformatiker Anwendungsentwicklung AP2 exam preparation.

It combines structured flashcards, learning-mode workflows and optional AI-assisted explanations in a single local-first web app.

Highlights

  • Single-page browser app
  • AP2/FIAE-focused training cards
  • Learning mode with spaced-repetition style progress tracking
  • Local progress storage via localStorage
  • Optional explanation helper using a user-provided API key
  • No backend required for the core trainer
  • Portable structure for adapting the trainer to other exam/project domains

Tech Stack

  • HTML
  • CSS
  • JavaScript
  • JSON data files
  • Local-first browser storage

Project Structure

index.html              redirect to the app
src/index.html          main trainer application
data/                   exported card/question datasets
LICENSE                 MIT license

Running locally

Open index.html or src/index.html in a browser.

For best results during development, serve the folder with a small local server:

python3 -m http.server 8080

Then open:

http://localhost:8080

API key handling

The trainer does not include an API key.

If optional AI explanations are used, the key must be entered locally in the browser UI. It is stored only in the browser's localStorage.

The public mirror intentionally does not contain any provider key. For production use, route AI calls through a backend proxy instead of exposing provider keys in frontend code.

Reusing this trainer for other projects

The app is intentionally structured so the learning workflow can be reused with different datasets:

  1. Replace or extend the JSON/card data.
  2. Adjust labels and categories in the app.
  3. Keep the local progress model or connect it to your own backend.
  4. Add domain-specific explanation prompts if needed.

Status

Portfolio mirror / learning-tool prototype.

About

Browser-based AP2/FIAE exam trainer with flashcards, learning mode and local-first progress tracking.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages