# team-mp/mp-cloud-prod architecture

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

- Interactive diagram: https://gitdiagram.com/team-mp/mp-cloud-prod
- Repository: https://github.com/team-mp/mp-cloud-prod

## Overview

This repository is a Forguncy business application for managing property-related applications and their follow-on services. Its tree shows operational areas for applications, surveys, analysis, construction, compaction, warranties, billing, and administration, alongside server-command definitions and report templates. The sampled JavaScript is a separate UI helper that fixes button positioning by adjusting browser DOM styles. There is no README, and the application JSON was not sampled, so the tree supports identifying these major areas but not asserting how pages dispatch commands or pass data between stages.

Main entry points: [`UserFile/moveBtn.js`](https://github.com/team-mp/mp-cloud-prod/blob/master/UserFile/moveBtn.js) (Button positioning)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_operations["Operations"]
  node_login["Login pages"]
  node_portals["User portals"]
end

subgraph group_property["Property workflow"]
  node_propertymgmt["Property management"]
  node_propertydetail["Property details"]
  node_survey["Survey operations"]
  node_analysis["Analysis operations"]
  node_measurement["Measurement operations"]
  node_construction["Construction operations"]
  node_compaction["Compaction operations"]
  node_warranty["Warranty operations"]
  node_billing["Billing operations"]
end

subgraph group_admin["Administration"]
  node_masterdata["Master data"]
  node_settings["System settings"]
end

subgraph group_internal["Application internals"]
  node_commands["Server commands"]
  node_reports["Business reports"]
  node_database[("Application database<br/>[ForguncyDB.sqlite3]")]
  node_buttonlayout["Button positioning<br/>[moveBtn.js]"]
end

node_user(("Application user"))
node_browser["Browser DOM"]

node_user -->|"invokes layout helper"| node_buttonlayout
node_buttonlayout -->|"adjusts styles"| node_browser

click node_login "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/%E3%83%93%E3%83%AB%E3%83%88%E3%82%A4%E3%83%B3%20%E3%83%9A%E3%83%BC%E3%82%B8"
click node_portals "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E7%94%B3%E8%BE%BC%E4%BA%8B%E6%A5%AD%E8%80%85%E7%94%A8"
click node_propertymgmt "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E7%89%A9%E4%BB%B6%E7%AE%A1%E7%90%86"
click node_propertydetail "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E7%89%A9%E4%BB%B6%E8%A9%B3%E7%B4%B0"
click node_survey "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%AA%BF%E6%9F%BB%E6%A5%AD%E5%8B%99"
click node_analysis "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%A7%A3%E6%9E%90%E6%A5%AD%E5%8B%99"
click node_measurement "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E6%B8%AC%E9%87%8F%E6%A5%AD%E5%8B%99"
click node_construction "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E5%B7%A5%E4%BA%8B%E6%A5%AD%E5%8B%99"
click node_compaction "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%BB%A2%E5%9C%A7%E6%A5%AD%E5%8B%99"
click node_warranty "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E4%BF%9D%E8%A8%BC%E6%A5%AD%E5%8B%99"
click node_billing "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%AB%8B%E6%B1%82%E6%A5%AD%E5%8B%99"
click node_masterdata "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E3%83%9E%E3%82%B9%E3%82%BF%E7%AE%A1%E7%90%86"
click node_settings "https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E8%A8%AD%E5%AE%9A"
click node_commands "https://github.com/team-mp/mp-cloud-prod/tree/master/ServerCommands"
click node_reports "https://github.com/team-mp/mp-cloud-prod/tree/master/Reports"
click node_database "https://github.com/team-mp/mp-cloud-prod/blob/master/ForguncyDB.sqlite3"
click node_buttonlayout "https://github.com/team-mp/mp-cloud-prod/blob/master/UserFile/moveBtn.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_login,node_portals,node_user,node_browser toneBlue
class node_propertymgmt,node_propertydetail,node_survey,node_analysis,node_measurement,node_construction,node_compaction,node_warranty,node_billing toneAmber
class node_masterdata,node_settings toneMint
class node_commands,node_reports,node_database,node_buttonlayout toneRose
```

## Components

### Operations

- [Login pages](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/%E3%83%93%E3%83%AB%E3%83%88%E3%82%A4%E3%83%B3%20%E3%83%9A%E3%83%BC%E3%82%B8): `Pages/ビルトイン ページ`
- [User portals](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E7%94%B3%E8%BE%BC%E4%BA%8B%E6%A5%AD%E8%80%85%E7%94%A8): `Pages/MPCloud/申込事業者用`

### Property workflow

- [Property management](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E7%89%A9%E4%BB%B6%E7%AE%A1%E7%90%86): `Pages/MPCloud/物件管理`
- [Property details](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E7%89%A9%E4%BB%B6%E8%A9%B3%E7%B4%B0): `Pages/MPCloud/物件詳細`
- [Survey operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%AA%BF%E6%9F%BB%E6%A5%AD%E5%8B%99): `Pages/MPCloud/調査業務`
- [Analysis operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%A7%A3%E6%9E%90%E6%A5%AD%E5%8B%99): `Pages/MPCloud/解析業務`
- [Measurement operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E6%B8%AC%E9%87%8F%E6%A5%AD%E5%8B%99): `Pages/MPCloud/測量業務`
- [Construction operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E5%B7%A5%E4%BA%8B%E6%A5%AD%E5%8B%99): `Pages/MPCloud/工事業務`
- [Compaction operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%BB%A2%E5%9C%A7%E6%A5%AD%E5%8B%99): `Pages/MPCloud/転圧業務`
- [Warranty operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E4%BF%9D%E8%A8%BC%E6%A5%AD%E5%8B%99): `Pages/MPCloud/保証業務`
- [Billing operations](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E8%AB%8B%E6%B1%82%E6%A5%AD%E5%8B%99): `Pages/MPCloud/請求業務`

### Administration

- [Master data](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E3%83%9E%E3%82%B9%E3%82%BF%E7%AE%A1%E7%90%86): `Pages/MPCloud/マスタ管理`
- [System settings](https://github.com/team-mp/mp-cloud-prod/tree/master/Pages/MPCloud/%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E8%A8%AD%E5%AE%9A): `Pages/MPCloud/システム設定`

### Application internals

- [Server commands](https://github.com/team-mp/mp-cloud-prod/tree/master/ServerCommands): `ServerCommands`
- [Business reports](https://github.com/team-mp/mp-cloud-prod/tree/master/Reports): `Reports`
- [Application database](https://github.com/team-mp/mp-cloud-prod/blob/master/ForguncyDB.sqlite3): `ForguncyDB.sqlite3`
- [Button positioning](https://github.com/team-mp/mp-cloud-prod/blob/master/UserFile/moveBtn.js): `UserFile/moveBtn.js`

### Other components

- **Application user**
- **Browser DOM**

## Connections

- Application user → Button positioning: invokes layout helper (evidence: `UserFile/moveBtn.js`)
- Button positioning → Browser DOM: adjusts styles (evidence: `UserFile/moveBtn.js`)
