# saikiranburada5-hub/connectx architecture

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

- Interactive diagram: https://gitdiagram.com/saikiranburada5-hub/connectx
- Repository: https://github.com/saikiranburada5-hub/connectx

## Overview

GigConnect is a local-services marketplace connecting customers with nearby providers. The principal customer journey is to choose a location and service, describe the job, find providers, submit a request, and follow its status; provider booking actions and customer feedback support the service lifecycle. The sampled sources show Flask route logic, API endpoints, SQLite persistence, matching helpers, and browser-side assistant and translation features. The README is empty, and several route details were not sampled, so uncertain links are omitted or marked unverified.

Main entry points: [`app.py`](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py) (Flask application), [`api_blueprint.py`](https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py) (REST API), [`templates`](https://github.com/saikiranburada5-hub/connectx/tree/main/templates) (Marketplace pages), [`database.py`](https://github.com/saikiranburada5-hub/connectx/blob/main/database.py) (Marketplace database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Customer experience"]
  node_web_pages["Marketplace pages"]
  node_translations["Translations<br/>[translations.js]"]
  node_yoyo_widget["Yoyo assistant<br/>[yoyo.js]"]
end

subgraph group_marketplace["Marketplace workflow"]
  node_location["Location and addresses<br/>[app.py]"]
  node_service_choice["Service selection<br/>[app.py]"]
  node_job_details["Job details<br/>[app.py]"]
  node_provider_discovery["Provider discovery<br/>[app.py]"]
  node_matching["Provider matching<br/>[matching.py]"]
end

subgraph group_operations["Service operations"]
  node_service_requests["Service requests<br/>[api_blueprint.py]"]
  node_request_tracking["Request tracking<br/>[app.py]"]
  node_provider_bookings["Provider bookings<br/>[app.py]"]
  node_payments["Payments<br/>[payments.html]"]
  node_feedback["Customer feedback<br/>[api_blueprint.py]"]
end

subgraph group_platform["Application platform"]
  node_flask_app["Flask application<br/>[app.py]"]
  node_rest_api["REST API<br/>[api_blueprint.py]"]
  node_sqlite_store[("Marketplace database<br/>[database.py]")]
  node_firebase["Firebase phone auth"]
  node_serverless_adapter["Netlify adapter<br/>[app.py]"]
end

node_customer(("Customer"))
node_provider_actor(("Provider"))

node_customer -->|"uses"| node_web_pages
node_provider_actor -->|"uses"| node_web_pages
node_web_pages -.->|"requests pages"| node_flask_app
node_flask_app -->|"routes"| node_location
node_flask_app -->|"routes"| node_service_choice
node_flask_app -->|"routes"| node_job_details
node_flask_app -->|"routes"| node_provider_discovery
node_provider_discovery -.->|"scores providers"| node_matching
node_flask_app -->|"registers API"| node_service_requests
node_rest_api -->|"handles requests"| node_service_requests
node_flask_app -->|"routes"| node_request_tracking
node_rest_api -->|"returns status"| node_request_tracking
node_flask_app -->|"routes"| node_provider_bookings
node_rest_api -->|"records ratings"| node_feedback
node_flask_app -->|"reads and writes"| node_sqlite_store
node_rest_api -->|"reads and writes"| node_sqlite_store
node_flask_app -->|"registers blueprint"| node_rest_api
node_translations -.->|"translates content"| node_web_pages
node_yoyo_widget -->|"answers questions"| node_customer
node_flask_app -.->|"verifies phone"| node_firebase
node_serverless_adapter -->|"adapts requests"| node_flask_app

click node_web_pages "https://github.com/saikiranburada5-hub/connectx/tree/main/templates"
click node_translations "https://github.com/saikiranburada5-hub/connectx/blob/main/static/translations.js"
click node_yoyo_widget "https://github.com/saikiranburada5-hub/connectx/blob/main/static/yoyo.js"
click node_location "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_service_choice "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_job_details "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_provider_discovery "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_matching "https://github.com/saikiranburada5-hub/connectx/blob/main/matching.py"
click node_service_requests "https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py"
click node_request_tracking "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_provider_bookings "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_payments "https://github.com/saikiranburada5-hub/connectx/blob/main/templates/payments.html"
click node_feedback "https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py"
click node_flask_app "https://github.com/saikiranburada5-hub/connectx/blob/main/app.py"
click node_rest_api "https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py"
click node_sqlite_store "https://github.com/saikiranburada5-hub/connectx/blob/main/database.py"
click node_serverless_adapter "https://github.com/saikiranburada5-hub/connectx/blob/main/netlify/functions/app.py"

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_web_pages,node_translations,node_yoyo_widget toneBlue
class node_location,node_service_choice,node_job_details,node_provider_discovery,node_matching toneAmber
class node_service_requests,node_request_tracking,node_provider_bookings,node_payments,node_feedback toneMint
class node_flask_app,node_rest_api,node_sqlite_store,node_firebase,node_serverless_adapter toneRose
class node_customer,node_provider_actor toneIndigo
```

## Components

### Customer experience

- [Marketplace pages](https://github.com/saikiranburada5-hub/connectx/tree/main/templates): `templates`
- [Translations](https://github.com/saikiranburada5-hub/connectx/blob/main/static/translations.js): `static/translations.js`
- [Yoyo assistant](https://github.com/saikiranburada5-hub/connectx/blob/main/static/yoyo.js): `static/yoyo.js`

### Marketplace workflow

- [Location and addresses](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [Service selection](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [Job details](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [Provider discovery](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [Provider matching](https://github.com/saikiranburada5-hub/connectx/blob/main/matching.py): `matching.py`

### Service operations

- [Service requests](https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py): `api_blueprint.py`
- [Request tracking](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [Provider bookings](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [Payments](https://github.com/saikiranburada5-hub/connectx/blob/main/templates/payments.html): `templates/payments.html`
- [Customer feedback](https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py): `api_blueprint.py`

### Application platform

- [Flask application](https://github.com/saikiranburada5-hub/connectx/blob/main/app.py): `app.py`
- [REST API](https://github.com/saikiranburada5-hub/connectx/blob/main/api_blueprint.py): `api_blueprint.py`
- [Marketplace database](https://github.com/saikiranburada5-hub/connectx/blob/main/database.py): `database.py`
- **Firebase phone auth**
- [Netlify adapter](https://github.com/saikiranburada5-hub/connectx/blob/main/netlify/functions/app.py): `netlify/functions/app.py`

### Other components

- **Customer**
- **Provider**

## Connections

- Customer → Marketplace pages: uses
- Provider → Marketplace pages: uses
- Marketplace pages → Flask application: requests pages
- Flask application → Location and addresses: routes (evidence: `app.py`)
- Flask application → Service selection: routes (evidence: `app.py`)
- Flask application → Job details: routes (evidence: `app.py`)
- Flask application → Provider discovery: routes (evidence: `app.py`)
- Provider discovery → Provider matching: scores providers (evidence: `app.py`)
- Flask application → Service requests: registers API (evidence: `app.py`)
- REST API → Service requests: handles requests (evidence: `api_blueprint.py`)
- Flask application → Request tracking: routes (evidence: `app.py`)
- REST API → Request tracking: returns status (evidence: `api_blueprint.py`)
- Flask application → Provider bookings: routes (evidence: `app.py`)
- REST API → Customer feedback: records ratings (evidence: `api_blueprint.py`)
- Flask application → Marketplace database: reads and writes (evidence: `app.py`)
- REST API → Marketplace database: reads and writes (evidence: `api_blueprint.py`)
- Flask application → REST API: registers blueprint (evidence: `app.py`)
- Translations → Marketplace pages: translates content
- Yoyo assistant → Customer: answers questions (evidence: `static/yoyo.js`)
- Flask application → Firebase phone auth: verifies phone
- Netlify adapter → Flask application: adapts requests (evidence: `netlify/functions/app.py`)
