Skip to content

Commit

Permalink
Merge branch 'master' into Develop
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287687 authored Mar 3, 2024
2 parents 593f92c + fcc6e1a commit a6c6e14
Show file tree
Hide file tree
Showing 18 changed files with 292 additions and 646 deletions.
Binary file added docs/images/10-Quality_Tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/deployment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/level1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/level2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/level3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 22 additions & 79 deletions docs/src/01_introduction_and_goals.adoc
Original file line number Diff line number Diff line change
@@ -1,93 +1,36 @@
ifndef::imagesdir[:imagesdir: ../images]

[[section-introduction-and-goals]]
== Introduction and Goals
WIQ is a web application developed by HappySw that allows users to play an online quiz game.

[role="arc42help"]
****
Describes the relevant requirements and the driving forces that software architects and development team must consider.
These include
* underlying business goals,
* essential features,
* essential functional requirements,
* quality goals for the architecture and
* relevant stakeholders and their expectations
****
The questions are automatically generated from Wikidata data and can be grouped by topic. Users can get a prize for each correctly answered question within a limited time and can also check their historical results in the game.

=== Requirements Overview
The main functional requirements to be met are:

[role="arc42help"]
****
.Contents
Short description of the functional requirements, driving forces, extract (or abstract)
of requirements. Link to (hopefully existing) requirements documents
(with version number and information where to find it).
.Motivation
From the point of view of the end users a system is created or modified to
improve support of a business activity and/or improve the quality.
.Form
Short textual description, probably in tabular use-case format.
If requirements documents exist this overview should refer to these documents.
Keep these excerpts as short as possible. Balance readability of this document with potential redundancy w.r.t to requirements documents.
.Further Information
See https://docs.arc42.org/section-1/[Introduction and Goals] in the arc42 documentation.
****
* Users must be able to register
* Users must be able to consult their participation history
* Each question must have one correct answer and several incorrect answers.
* Questions must have a time limit to answer them
* Access to the user's data must be allowed through an API.
* Access to the information of the generated questions must be allowed through an API.

=== Quality Goals

[role="arc42help"]
****
.Contents
The top three (max five) quality goals for the architecture whose fulfillment is of highest importance to the major stakeholders.
We really mean quality goals for the architecture. Don't confuse them with project goals.
They are not necessarily identical.
Consider this overview of potential topics (based upon the ISO 25010 standard):
image::01_2_iso-25010-topics-EN.drawio.png["Categories of Quality Requirements"]
.Motivation
You should know the quality goals of your most important stakeholders, since they will influence fundamental architectural decisions.
Make sure to be very concrete about these qualities, avoid buzzwords.
If you as an architect do not know how the quality of your work will be judged...
.Form
A table with quality goals and concrete scenarios, ordered by priorities
****
The quality goals in order of priority are as follows:
[options="header",cols="1,2"]
|===
|Quality goal|Description
|Usability|The application must be easy to understand and use
|Performance efficiency|Question generation must be efficient
|Security|The confidentiality and integrity of user data must be ensured
|Maintainability|The application must be testable and easily modifiable
|===

=== Stakeholders

[role="arc42help"]
****
.Contents
Explicit overview of stakeholders of the system, i.e. all person, roles or organizations that
* should know the architecture
* have to be convinced of the architecture
* have to work with the architecture or with code
* need the documentation of the architecture for their work
* have to come up with decisions about the system or its development
.Motivation
You should know all parties involved in development of the system or affected by the system.
Otherwise, you may get nasty surprises later in the development process.
These stakeholders determine the extent and the level of detail of your work and its results.
.Form
Table with role names, person names, and their expectations with respect to the architecture and its documentation.
****

[options="header",cols="1,2,2"]
|===
|Role/Name|Contact|Expectations
| _<Role-1>_ | _<Contact-1>_ | _<Expectation-1>_
| _<Role-2>_ | _<Contact-2>_ | _<Expectation-2>_
| Teachers | They interact with the development team and review the project to detect and correct errors| The application must meet all functional requirements and must follow the quality goals
| RTVE (client) | Company commissioning the development of the application | The company hopes that the application will be easy to use for all users and that it will be a good version of its "Saber y Ganar" programme
| Development Team| They are the creators of the project | They must develop an application that meets all the requirements and is attractive in order to attract as many users as possible
|Users|End-users who will interact with the application|They expect it to be user-friendly, attractive and similar to the programme it imitates ("Saber y Ganar")
|===
46 changes: 23 additions & 23 deletions docs/src/02_architecture_constraints.adoc
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
ifndef::imagesdir[:imagesdir: ../images]

[[section-architecture-constraints]]
== Architecture Constraints

=== Technical constraints
[options="header",cols="1,2"]
|===
|Constraint|Description
|Wikidata|The generation of the questions should be done automatically with the data from Wikidata
|Web access|The application must be accessible via the web
|Git and GitHub|Version control and project tracking will be done using Git. GitHub is used to remotely store the repositories
|===
=== Organizational constraints
[options="header",cols="1,2"]
|===
|Constraint|Description
|Team|The development team is composed of 6 people
|Repository control|The repository has a "main" and a "develop" branch and numerous "feature" branches where new functionalities are developed
|Meetings|At least one weekly team meeting is held to maintain proper organisation
|===
=== Conventions
[options="header",cols="1,2"]
|===
|Convention|Description
|Arc42|The arc42 template is used in the documentation
|AsciiDoc|The documentation is done using AsciiDoc as markup language
|===

[role="arc42help"]
****
.Contents
Any requirement that constraints software architects in their freedom of design and implementation decisions or decision about the development process. These constraints sometimes go beyond individual systems and are valid for whole organizations and companies.
.Motivation
Architects should know exactly where they are free in their design decisions and where they must adhere to constraints.
Constraints must always be dealt with; they may be negotiable, though.
.Form
Simple tables of constraints with explanations.
If needed you can subdivide them into
technical constraints, organizational and political constraints and
conventions (e.g. programming or versioning guidelines, documentation or naming conventions)
.Further Information
See https://docs.arc42.org/section-2/[Architecture Constraints] in the arc42 documentation.
****
57 changes: 14 additions & 43 deletions docs/src/03_system_scope_and_context.adoc
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
ifndef::imagesdir[:imagesdir: ../images]

[[section-system-scope-and-context]]
# System Scope and Context
== System Scope and Context


[role="arc42help"]
---

## Contents
### Scope and context
=== Contents
==== Scope and context

This project aims to develop a quiz game.
The main constraints are developing the game as a web app and using Wikidata to obtain the questions and answers.

---

## Business Context

[role="arc42help"]
=== Business Context

### Contents
==== Contents

* *Users:* They interact directly with the application through the user interface provided by the frontend using React, HTML, CSS, and JavaScript.
* *Wikidata API:* The application communicates with the Wikidata service to obtain questions and answers related to different topics. Requests are made using the HTTP protocol, and response data is received in JSON format.

---

### Motivation
==== Motivation

Regarding the information exchanged with the application, it will require having a registered account to play, and it will also exchange information with a MongoDB database and Wikidata itself to obtain the questions.

---

### Form
==== Form

|===

Expand All @@ -44,47 +40,22 @@ Regarding the information exchanged with the application, it will require having

---

### Context diagram
[plantuml, "context", png]
----
component "App" as app
:User: -> [app]: Answer question
[app] -> User: Return result
==== Context diagram

database DB
[app] -> DB: Ask for question
DB -> [app]: Return question

component "WikiData" as wd
[app] --> wd: Ask for keyword
wd --> [app]: Return keyword
----
image::context.png["Context"]

---

## Technical Context
=== Technical Context

[role="arc42help"]

### Contents
==== Contents

* *HTTP Channel:* The application uses the HTTP protocol to communicate with the Wikidata API service.
* *MongoDB Data Channel:* Interactions with the MongoDB database allow for storing and retrieving questions and answers.

---

### Deployment diagram
[plantuml, "deployment", png]
----
node "Aplication Server" as app
node "DB Server" as db {
artifact "MongoDB Server"
}
node Wikidata as w
node Interface as i
app - db
app -- w
app -- i
----
==== Deployment diagram

image::deployment.png["Deployment"]
17 changes: 8 additions & 9 deletions docs/src/04_solution_strategy.adoc
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
ifndef::imagesdir[:imagesdir: ../images]

[[section-solution-strategy]]
# Solution Strategy
== Solution Strategy

[role="arc42help"]
## Contents
=== Contents
This page contains a short summary and explanation of the fundamental decisions and solution strategies, that shape system architecture.

---

### Technology Decisions
==== Technology Decisions
Below, all the technologies to be used in the development of the application are listed:

* *JavaScript / React:* A JavaScript library designed to facilitate the development of web applications.
Expand All @@ -20,7 +19,7 @@ Below, all the technologies to be used in the development of the application are

---

### Top-Level Decisions
==== Top-Level Decisions
In this section, a summarized list of all decisions regarding the architecture of the application is included.

|===
Expand All @@ -36,7 +35,7 @@ In this section, a summarized list of all decisions regarding the architecture o

---

### Quality Goals
==== Quality Goals
Next, several quality goals are established, along with the decisions made to achieve them.

|===
Expand All @@ -58,7 +57,7 @@ Next, several quality goals are established, along with the decisions made to ac

---

### Relevant Organizational
==== Relevant Organizational
Regarding the organization of the team, we have decided to use agile methodologies for better and faster group work. In this project, we will follow the best practices of the SCRUM framework.

Practices to be followed:
Expand All @@ -72,7 +71,7 @@ Additionally, "Issues" and the GitHub-provided Kanban (ToDo - In Progress - Done

---

### Motivation
==== Motivation
This section addresses the fundamental decisions for the project's architecture.

|===
Expand All @@ -82,4 +81,4 @@ This section addresses the fundamental decisions for the project's architecture.
| *Security* |
| *Monitoring* |

|===
|===
Loading

0 comments on commit a6c6e14

Please sign in to comment.