# aggelosqubit/garagewebsiteinternship architecture

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

- Interactive diagram: https://gitdiagram.com/aggelosqubit/garagewebsiteinternship
- Repository: https://github.com/aggelosqubit/garagewebsiteinternship

## Overview

This is a French-language website for a vehicle technical center. Visitors can enter through the home page, browse services, request an entretien/repair quote, contact the business, or find its location. The sampled access page calls shared layout functions; the shared header loads jQuery and Bootstrap. The quote, contact, service, home, database, and site-specific JavaScript implementations were not sampled, so their internal behavior and data connections remain uncertain.

Main entry points: [`planDAccess.php`](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/planDAccess.php) (Access map), [`fonction.inc.php`](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/fonction.inc.php) (Page layout), [`index.php`](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/index.php) (Home page), [`nosServices.php`](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/nosServices.php) (Services)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Visitor pages"]
  node_home["Home page<br/>[index.php]"]
  node_services["Services<br/>[nosServices.php]"]
  node_quote["Service quote<br/>[devisEntretien.php]"]
  node_contact["Contact<br/>[contact.php]"]
  node_access["Access map<br/>[planDAccess.php]"]
  node_nojs["No-JavaScript page"]
end

subgraph group_shared["Shared site layer"]
  node_layout["Page layout<br/>[fonction.inc.php]"]
  node_db["Database helper<br/>[DB.inc.php]"]
end

subgraph group_browser["Browser interface"]
  node_sitejs["Site interactions<br/>[allFunction.js]"]
  node_jquery["jQuery<br/>[jquery.js]"]
  node_bootstrap["Bootstrap UI<br/>[bootstrap.js]"]
end

node_visitor(("Visitor"))
node_mapservice["Google Maps"]

node_visitor -.->|"opens"| node_home
node_visitor -.->|"browses"| node_services
node_visitor -.->|"requests quote"| node_quote
node_visitor -.->|"contacts"| node_contact
node_visitor -.->|"finds location"| node_access
node_visitor -.->|"opens"| node_nojs
node_access -->|"calls layout"| node_layout
node_access -->|"embeds map"| node_mapservice
node_layout -->|"loads"| node_jquery
node_layout -->|"loads"| node_bootstrap

click node_home "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/index.php"
click node_services "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/nosServices.php"
click node_quote "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/devisEntretien.php"
click node_contact "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/contact.php"
click node_access "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/planDAccess.php"
click node_nojs "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/pasdejavascript.php"
click node_layout "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/fonction.inc.php"
click node_db "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/DB.inc.php"
click node_sitejs "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/bootstrap3/js/allFunction.js"
click node_jquery "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/bootstrap3/js/jquery.js"
click node_bootstrap "https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/bootstrap3/js/bootstrap.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_home,node_services,node_quote,node_contact,node_access,node_nojs toneBlue
class node_layout,node_db toneAmber
class node_sitejs,node_jquery,node_bootstrap toneMint
class node_visitor,node_mapservice toneIndigo
```

## Components

### Visitor pages

- [Home page](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/index.php): `index.php`
- [Services](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/nosServices.php): `nosServices.php`
- [Service quote](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/devisEntretien.php): `devisEntretien.php`
- [Contact](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/contact.php): `contact.php`
- [Access map](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/planDAccess.php): `planDAccess.php`
- [No-JavaScript page](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/pasdejavascript.php): `pasdejavascript.php`

### Shared site layer

- [Page layout](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/fonction.inc.php): `fonction.inc.php`
- [Database helper](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/DB.inc.php): `DB.inc.php`

### Browser interface

- [Site interactions](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/bootstrap3/js/allFunction.js): `bootstrap3/js/allFunction.js`
- [jQuery](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/bootstrap3/js/jquery.js): `bootstrap3/js/jquery.js`
- [Bootstrap UI](https://github.com/aggelosqubit/garagewebsiteinternship/blob/main/bootstrap3/js/bootstrap.js): `bootstrap3/js/bootstrap.js`

### Other components

- **Visitor**
- **Google Maps**

## Connections

- Visitor → Home page: opens
- Visitor → Services: browses
- Visitor → Service quote: requests quote
- Visitor → Contact: contacts
- Visitor → Access map: finds location
- Visitor → No-JavaScript page: opens
- Access map → Page layout: calls layout (evidence: `planDAccess.php`)
- Access map → Google Maps: embeds map (evidence: `planDAccess.php`)
- Page layout → jQuery: loads (evidence: `fonction.inc.php`)
- Page layout → Bootstrap UI: loads (evidence: `fonction.inc.php`)
