A driving theory app is only as good as its questions. Hundreds of them, each in four languages, with options, an explanation and a linked road sign, cannot be typed in by hand without mistakes.
The idea
Instead of manual entry, I built a pipeline: the source material comes in as screenshots, the questions are extracted, and the result is turned into SQL statements ready to insert, in every language.
Database first
Before extracting anything I designed the database schema: six tables. With the schema settled up front, the pipeline knows exactly where every field goes, and nothing has to be reshuffled later.
Output with a fixed shape
The most important decision was that the output always has the same shape — the same fields, in the same order, with the same naming rules. So I wrote a fixed instruction document that I use for every batch, defining the output exactly. Without it every batch would come out slightly different, and small differences are the hardest to catch.
Review is not optional
Automation saves time; it does not replace review. Every batch is checked before it goes in, especially the correct answers and the terminology. A wrong answer in a learning app is worse than no question at all.
Reuse
Because the instructions live in a document, the same process can run with any tool, at any time, and produce the same shape. That turned adding questions into routine work instead of a project.
What I learned
- Design the database before you start collecting content.
- Pin the output format down in a document, not in your head.
- Automation for speed, human review for accuracy — you need both.