From c2c5cc6a78c10c5200171437a930490f56dc05f8 Mon Sep 17 00:00:00 2001 From: Diego Villanueva <98838739+UO283615@users.noreply.github.com> Date: Sat, 27 Apr 2024 13:16:09 +0200 Subject: [PATCH] Added the QG package distribution --- docs/src/04_solution_strategy.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/04_solution_strategy.adoc b/docs/src/04_solution_strategy.adoc index 927a82f6..908bfb82 100644 --- a/docs/src/04_solution_strategy.adoc +++ b/docs/src/04_solution_strategy.adoc @@ -87,7 +87,11 @@ A crucial part of the design is that the models are the ones handling the logic, In regard to testing, a Test First approach was employed when possible, and the logic of the *Models* and the *Services* was tested, as well as the responses given by the *Controllers* in different situations. ===== Question Generator - //fill in here pls +In the question generator, the structure is simple, using three packages to structurize the code: + + * The `model` package is used to store the classes that model the questions and answers. + * The `repositories` package, where classes related to storing the questions and answers in the DB can be found. + * The `templates` package, where all the classes where the questions are created by using calls to wikidata can be found. ==== Frontend * In the frontend, the structure will be quite different: