# adithya262005/resume-forge architecture

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

- Interactive diagram: https://gitdiagram.com/adithya262005/resume-forge
- Repository: https://github.com/adithya262005/resume-forge

## Overview

Resume Forge is a browser-based resume builder with PHP signup/login handling. The main workflow is to enter resume details, validate and collect them, render a live preview, choose a template, then print or download the result. The graph also preserves the documented authentication, responsive presentation, and template capabilities. Source excerpts establish the editor’s rendering and repeatable fields; template selection, download behavior, and page wiring are represented only where the README documents them.

Main entry points: [`resume.html`](https://github.com/adithya262005/resume-forge/blob/main/resume.html) (Resume editor), [`app.js`](https://github.com/adithya262005/resume-forge/blob/main/app.js) (Input and validation), [`signup.html`](https://github.com/adithya262005/resume-forge/blob/main/signup.html) (Signup form), [`signup.php`](https://github.com/adithya262005/resume-forge/blob/main/signup.php) (Signup handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Account Access"]
  node_signup_page["Signup form<br/>[signup.html]"]
  node_signup_handler["Signup handler<br/>[signup.php]"]
  node_login_page["Login form"]
  node_login_handler["Login handler<br/>[login.php]"]
  node_auth_db[("User database")]
end

subgraph group_builder["Resume Builder"]
  node_resume_form["Resume editor<br/>[resume.html]"]
  node_field_repeater["Repeatable fields<br/>[script.js]"]
  node_resume_logic["Input and validation<br/>[app.js]"]
  node_live_preview["Resume preview<br/>[app.js]"]
end

subgraph group_presentation["Templates and Output"]
  node_template_gallery["Template gallery<br/>[Templates.html]"]
  node_resume_output["Print or download<br/>[resume.html]"]
end

subgraph group_site["Site Experience"]
  node_home["Home pages<br/>[index.html]"]
  node_home_alt["Home page<br/>[Home_Page.html]"]
  node_about["About page<br/>[about.html]"]
  node_contact["Contact page<br/>[contact.html]"]
  node_responsive_styles["Responsive styling<br/>[main.css]"]
end

node_visitor(("Resume creator"))

node_visitor -->|"signs up"| node_signup_page
node_signup_page -->|"submits to"| node_signup_handler
node_signup_handler -->|"inserts account"| node_auth_db
node_visitor -->|"logs in"| node_login_page
node_login_page -->|"submits to"| node_login_handler
node_login_handler -->|"checks account"| node_auth_db
node_visitor -->|"opens"| node_home
node_visitor -->|"opens"| node_home_alt
node_visitor -->|"enters details"| node_resume_form
node_resume_form -->|"provides inputs"| node_resume_logic
node_field_repeater -->|"refreshes preview"| node_resume_logic
node_resume_logic -->|"renders details"| node_live_preview
node_visitor -->|"chooses template"| node_template_gallery
node_visitor -->|"prints or downloads"| node_resume_output
node_visitor -.->|"views"| node_about
node_visitor -.->|"views"| node_contact
node_responsive_styles -.->|"styles"| node_resume_form

click node_signup_page "https://github.com/adithya262005/resume-forge/blob/main/signup.html"
click node_signup_handler "https://github.com/adithya262005/resume-forge/blob/main/signup.php"
click node_login_handler "https://github.com/adithya262005/resume-forge/blob/main/login.php"
click node_resume_form "https://github.com/adithya262005/resume-forge/blob/main/resume.html"
click node_field_repeater "https://github.com/adithya262005/resume-forge/blob/main/script.js"
click node_resume_logic "https://github.com/adithya262005/resume-forge/blob/main/app.js"
click node_live_preview "https://github.com/adithya262005/resume-forge/blob/main/app.js"
click node_template_gallery "https://github.com/adithya262005/resume-forge/blob/main/Templates.html"
click node_resume_output "https://github.com/adithya262005/resume-forge/blob/main/resume.html"
click node_home "https://github.com/adithya262005/resume-forge/blob/main/index.html"
click node_home_alt "https://github.com/adithya262005/resume-forge/blob/main/Home_Page.html"
click node_about "https://github.com/adithya262005/resume-forge/blob/main/about.html"
click node_contact "https://github.com/adithya262005/resume-forge/blob/main/contact.html"
click node_responsive_styles "https://github.com/adithya262005/resume-forge/blob/main/main.css"

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_signup_page,node_signup_handler,node_login_page,node_login_handler,node_auth_db toneBlue
class node_resume_form,node_field_repeater,node_resume_logic,node_live_preview toneAmber
class node_template_gallery,node_resume_output toneMint
class node_home,node_home_alt,node_about,node_contact,node_responsive_styles toneRose
class node_visitor toneIndigo
```

## Components

### Account Access

- [Signup form](https://github.com/adithya262005/resume-forge/blob/main/signup.html): `signup.html`
- [Signup handler](https://github.com/adithya262005/resume-forge/blob/main/signup.php): `signup.php`
- **Login form**
- [Login handler](https://github.com/adithya262005/resume-forge/blob/main/login.php): `login.php`
- **User database**

### Resume Builder

- [Resume editor](https://github.com/adithya262005/resume-forge/blob/main/resume.html): `resume.html`
- [Repeatable fields](https://github.com/adithya262005/resume-forge/blob/main/script.js): `script.js`
- [Input and validation](https://github.com/adithya262005/resume-forge/blob/main/app.js): `app.js`
- [Resume preview](https://github.com/adithya262005/resume-forge/blob/main/app.js): `app.js`

### Templates and Output

- [Template gallery](https://github.com/adithya262005/resume-forge/blob/main/Templates.html): `Templates.html`
- [Print or download](https://github.com/adithya262005/resume-forge/blob/main/resume.html): `resume.html`

### Site Experience

- [Home pages](https://github.com/adithya262005/resume-forge/blob/main/index.html): `index.html`
- [Home page](https://github.com/adithya262005/resume-forge/blob/main/Home_Page.html): `Home_Page.html`
- [About page](https://github.com/adithya262005/resume-forge/blob/main/about.html): `about.html`
- [Contact page](https://github.com/adithya262005/resume-forge/blob/main/contact.html): `contact.html`
- [Responsive styling](https://github.com/adithya262005/resume-forge/blob/main/main.css): `main.css`

### Other components

- **Resume creator**

## Connections

- Resume creator → Signup form: signs up (evidence: `README.md`)
- Signup form → Signup handler: submits to (evidence: `README.md`)
- Signup handler → User database: inserts account (evidence: `signup.php`)
- Resume creator → Login form: logs in (evidence: `README.md`)
- Login form → Login handler: submits to (evidence: `README.md`)
- Login handler → User database: checks account (evidence: `login.php`)
- Resume creator → Home pages: opens (evidence: `README.md`)
- Resume creator → Home page: opens (evidence: `README.md`)
- Resume creator → Resume editor: enters details (evidence: `README.md`)
- Resume editor → Input and validation: provides inputs (evidence: `app.js`)
- Repeatable fields → Input and validation: refreshes preview (evidence: `script.js`)
- Input and validation → Resume preview: renders details (evidence: `app.js`)
- Resume creator → Template gallery: chooses template (evidence: `README.md`)
- Resume creator → Print or download: prints or downloads (evidence: `README.md`)
- Resume creator → About page: views
- Resume creator → Contact page: views
- Responsive styling → Resume editor: styles
