# harieswarreddygelli/servicehub architecture

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

- Interactive diagram: https://gitdiagram.com/harieswarreddygelli/servicehub
- Repository: https://github.com/harieswarreddygelli/servicehub

## Overview

ServiceHub is documented as a home and appliance service-booking application. Its principal workflow is user registration or login, browsing services, selecting an electrician or mechanic, scheduling a slot, and managing bookings. The tree contains HTML pages but no sampled backend source, so connections show only the documented workflow—not implementation calls or database operations. Service pages are grouped where their individual runtime wiring is unknown.

Main entry points: [`ServiceHub/main.html`](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/main.html) (Browse services), [`ServiceHub`](https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub) (Schedule service), [`ServiceHub/signup.html`](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/signup.html) (Registration), [`ServiceHub/login.html`](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/login.html) (Login)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["User access"]
  node_signup["Registration<br/>[signup.html]"]
  node_login["Login<br/>[login.html]"]
end

subgraph group_services["Service discovery"]
  node_service_browse["Browse services<br/>[main.html]"]
  node_electrician_services["Electrician services"]
  node_mechanic_services["Mechanic services"]
  node_technician_select["Technician selection<br/>[book mechanic.html]"]
end

subgraph group_booking["Booking"]
  node_schedule["Schedule service"]
  node_manage_bookings["Manage bookings<br/>[dashboard.html]"]
  node_profile["User profile<br/>[profile.html]"]
  node_user_details["User details<br/>[userdetails.html]"]
  node_service_result["Scheduled service"]
end

node_user(("User"))

node_user -->|"registers"| node_signup
node_user -->|"logs in"| node_login
node_user -->|"browses"| node_service_browse
node_service_browse -->|"explores"| node_electrician_services
node_service_browse -->|"explores"| node_mechanic_services
node_user -->|"selects technician"| node_technician_select
node_user -->|"schedules slot"| node_schedule
node_user -->|"manages bookings"| node_manage_bookings
node_user -->|"views profile"| node_profile
node_user -->|"views details"| node_user_details
node_schedule -->|"creates booking"| node_service_result

click node_signup "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/signup.html"
click node_login "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/login.html"
click node_service_browse "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/main.html"
click node_electrician_services "https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub"
click node_mechanic_services "https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub"
click node_technician_select "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/book%20mechanic.html"
click node_schedule "https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub"
click node_manage_bookings "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/dashboard.html"
click node_profile "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/profile.html"
click node_user_details "https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/userdetails.html"

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,node_login,node_user toneBlue
class node_service_browse,node_electrician_services,node_mechanic_services,node_technician_select toneAmber
class node_schedule,node_manage_bookings,node_profile,node_user_details,node_service_result toneMint
```

## Components

### User access

- [Registration](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/signup.html): `ServiceHub/signup.html`
- [Login](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/login.html): `ServiceHub/login.html`

### Service discovery

- [Browse services](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/main.html): `ServiceHub/main.html`
- [Electrician services](https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub): `ServiceHub`
- [Mechanic services](https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub): `ServiceHub`
- [Technician selection](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/book%20mechanic.html): `ServiceHub/book mechanic.html`

### Booking

- [Schedule service](https://github.com/harieswarreddygelli/servicehub/tree/main/ServiceHub): `ServiceHub`
- [Manage bookings](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/dashboard.html): `ServiceHub/dashboard.html`
- [User profile](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/profile.html): `ServiceHub/profile.html`
- [User details](https://github.com/harieswarreddygelli/servicehub/blob/main/ServiceHub/userdetails.html): `ServiceHub/userdetails.html`
- **Scheduled service**

### Other components

- **User**

## Connections

- User → Registration: registers
- User → Login: logs in
- User → Browse services: browses
- Browse services → Electrician services: explores
- Browse services → Mechanic services: explores
- User → Technician selection: selects technician
- User → Schedule service: schedules slot
- User → Manage bookings: manages bookings
- User → User profile: views profile
- User → User details: views details
- Schedule service → Scheduled service: creates booking
