# tatan2708/aws-quiz-saa-s03 architecture

> Architecture diagram of the GitHub repository tatan2708/aws-quiz-saa-s03, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tatan2708/aws-quiz-saa-s03
- Repository: https://github.com/tatan2708/aws-quiz-saa-s03

## Overview

This is a Spanish-language AWS study quiz built as a Vue single-page application. The main workflow is a user selecting a questionnaire, the router passing its ID to the questionnaire component, and the user submitting answers to see a score. Quiz content is supplied by topic-specific question modules. The repository also contains a standalone quiz component and a larger question-data module, but the available excerpts do not show them connected to the routed workflow; several listed views are likewise not shown as active routes.

Main entry points: [`src/components/Questionnaire.vue`](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/components/Questionnaire.vue) (Questionnaire UI and scoring), [`src/main.js`](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/main.js) (Vue entry), [`src/App.vue`](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/App.vue) (App shell), [`src/router/index.js`](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/router/index.js) (Questionnaire router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_entry["Vue entry<br/>[main.js]"]
  node_app_shell["App shell<br/>[App.vue]"]
  node_router["Questionnaire router<br/>[index.js]"]
end

subgraph group_quiz["Questionnaire experience"]
  node_questionnaire["Questionnaire UI and scoring<br/>[Questionnaire.vue]"]
end

subgraph group_content["Quiz content"]
  node_default_questions["Default questions"]
  node_aws_intro["AWS introduction questions<br/>[question1.js]"]
  node_iam_questions["IAM questions<br/>[question2.js]"]
  node_ec2_questions["EC2 questions<br/>[question3.js]"]
  node_question4["Question set 4<br/>[question4.js]"]
  node_question_bank["Question bank<br/>[questions.js]"]
end

subgraph group_standalone["Standalone quiz"]
  node_aws_quiz["Embedded-data quiz<br/>[AwsQuiz.vue]"]
end

node_user(("Quiz user"))

node_user -->|"opens app"| node_entry
node_entry -->|"mounts"| node_app_shell
node_entry -->|"installs"| node_router
node_app_shell -->|"uses routes"| node_router
node_router -->|"routes to"| node_questionnaire
node_user -->|"selects quiz"| node_app_shell
node_questionnaire -->|"selects fallback"| node_default_questions
node_questionnaire -->|"selects by ID"| node_aws_intro
node_questionnaire -->|"selects by ID"| node_iam_questions
node_questionnaire -->|"selects by ID"| node_ec2_questions
node_user -->|"answers and submits"| node_questionnaire

click node_entry "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/main.js"
click node_app_shell "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/App.vue"
click node_router "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/router/index.js"
click node_questionnaire "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/components/Questionnaire.vue"
click node_default_questions "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question-default.js"
click node_aws_intro "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question1.js"
click node_iam_questions "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question2.js"
click node_ec2_questions "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question3.js"
click node_question4 "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question4.js"
click node_question_bank "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/questions.js"
click node_aws_quiz "https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/components/AwsQuiz.vue"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_app_shell,node_router,node_user toneBlue
class node_questionnaire toneAmber
class node_default_questions,node_aws_intro,node_iam_questions,node_ec2_questions,node_question4,node_question_bank toneMint
class node_aws_quiz toneRose
```

## Components

### Application shell

- [Vue entry](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/main.js): `src/main.js`
- [App shell](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/App.vue): `src/App.vue`
- [Questionnaire router](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/router/index.js): `src/router/index.js`

### Questionnaire experience

- [Questionnaire UI and scoring](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/components/Questionnaire.vue): `src/components/Questionnaire.vue`

### Quiz content

- [Default questions](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question-default.js): `src/data/preguntas/question-default.js`
- [AWS introduction questions](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question1.js): `src/data/preguntas/question1.js`
- [IAM questions](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question2.js): `src/data/preguntas/question2.js`
- [EC2 questions](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question3.js): `src/data/preguntas/question3.js`
- [Question set 4](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/preguntas/question4.js): `src/data/preguntas/question4.js`
- [Question bank](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/data/questions.js): `src/data/questions.js`

### Standalone quiz

- [Embedded-data quiz](https://github.com/tatan2708/aws-quiz-saa-s03/blob/main/src/components/AwsQuiz.vue): `src/components/AwsQuiz.vue`

### Other components

- **Quiz user**

## Connections

- Quiz user → Vue entry: opens app
- Vue entry → App shell: mounts (evidence: `src/main.js`)
- Vue entry → Questionnaire router: installs (evidence: `src/main.js`)
- App shell → Questionnaire router: uses routes (evidence: `src/App.vue`)
- Questionnaire router → Questionnaire UI and scoring: routes to (evidence: `src/router/index.js`)
- Quiz user → App shell: selects quiz (evidence: `src/App.vue`)
- Questionnaire UI and scoring → Default questions: selects fallback (evidence: `src/components/Questionnaire.vue`)
- Questionnaire UI and scoring → AWS introduction questions: selects by ID (evidence: `src/components/Questionnaire.vue`)
- Questionnaire UI and scoring → IAM questions: selects by ID (evidence: `src/components/Questionnaire.vue`)
- Questionnaire UI and scoring → EC2 questions: selects by ID (evidence: `src/components/Questionnaire.vue`)
- Quiz user → Questionnaire UI and scoring: answers and submits (evidence: `src/components/Questionnaire.vue`)
