# lucasmarapodi/cypress-do-zero-a-nuvem architecture

> Architecture diagram of the GitHub repository lucasmarapodi/cypress-do-zero-a-nuvem, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lucasmarapodi/cypress-do-zero-a-nuvem
- Repository: https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem

## Overview

This repository is a Portuguese-language Cypress course, accompanied by a small browser-based contact-form app. The learner follows the lessons to learn Cypress testing; the README lists the course’s major topics but does not map them to individual lesson files. The sampled script shows the app’s optional-phone behavior, form validation, reset, and timed feedback. The app’s HTML and lesson contents were not sampled, so connections between the course and app, or between particular topics and lessons, are not asserted.

Main entry points: [`lessons`](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons) (Course lessons), [`src/script.js`](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js) (Form validation), [`src/index.html`](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/index.html) (Contact form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_course["Course content"]
  node_curriculum["Course lessons"]
  node_setup["Cypress setup"]
  node_browser_testing["Browser testing"]
  node_test_capabilities["Test capabilities"]
  node_automation_workflow["Automation workflow"]
end

subgraph group_demo["Sample application"]
  node_form_ui["Contact form<br/>[index.html]"]
  node_phone_toggle["Phone requirement<br/>[script.js]"]
  node_form_validation["Form validation<br/>[script.js]"]
  node_form_reset["Form reset<br/>[script.js]"]
  node_feedback["Timed feedback<br/>[script.js]"]
end

node_learner(("Learner"))

node_learner -->|"follows"| node_curriculum
node_curriculum -->|"covers"| node_setup
node_curriculum -->|"covers"| node_browser_testing
node_curriculum -->|"covers"| node_test_capabilities
node_curriculum -->|"covers"| node_automation_workflow
node_form_ui -->|"enables"| node_phone_toggle
node_form_ui -->|"submits to"| node_form_validation
node_form_validation -->|"validates then resets"| node_form_reset
node_form_validation -->|"shows"| node_feedback
node_phone_toggle -->|"sets requirement"| node_form_validation

click node_curriculum "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons"
click node_setup "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons"
click node_browser_testing "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons"
click node_test_capabilities "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons"
click node_automation_workflow "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons"
click node_form_ui "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/index.html"
click node_phone_toggle "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js"
click node_form_validation "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js"
click node_form_reset "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js"
click node_feedback "https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js"

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_curriculum,node_setup,node_browser_testing,node_test_capabilities,node_automation_workflow toneBlue
class node_form_ui,node_phone_toggle,node_form_validation,node_form_reset,node_feedback toneAmber
class node_learner toneIndigo
```

## Components

### Course content

- [Course lessons](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons): `lessons`
- [Cypress setup](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons): `lessons`
- [Browser testing](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons): `lessons`
- [Test capabilities](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons): `lessons`
- [Automation workflow](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/tree/main/lessons): `lessons`

### Sample application

- [Contact form](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/index.html): `src/index.html`
- [Phone requirement](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js): `src/script.js`
- [Form validation](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js): `src/script.js`
- [Form reset](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js): `src/script.js`
- [Timed feedback](https://github.com/lucasmarapodi/cypress-do-zero-a-nuvem/blob/main/src/script.js): `src/script.js`

### Other components

- **Learner**

## Connections

- Learner → Course lessons: follows (evidence: `README.md`)
- Course lessons → Cypress setup: covers (evidence: `README.md`)
- Course lessons → Browser testing: covers (evidence: `README.md`)
- Course lessons → Test capabilities: covers (evidence: `README.md`)
- Course lessons → Automation workflow: covers (evidence: `README.md`)
- Contact form → Phone requirement: enables (evidence: `src/script.js`)
- Contact form → Form validation: submits to (evidence: `src/script.js`)
- Form validation → Form reset: validates then resets (evidence: `src/script.js`)
- Form validation → Timed feedback: shows (evidence: `src/script.js`)
- Phone requirement → Form validation: sets requirement (evidence: `src/script.js`)
