# isaacdwamena/primemover-client architecture

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

- Interactive diagram: https://gitdiagram.com/isaacdwamena/primemover-client
- Repository: https://github.com/isaacdwamena/primemover-client

## Overview

Prime Client is a moving-services customer-management frontend. Prospective customers submit move details on the public site; managers sign in, review incoming customers, and can inspect, search, edit, estimate, or mark records completed. The frontend exchanges customer and estimate data with a separately hosted API. The README is empty, and several components are unsampled, so the graph reflects only routes and interactions supported by the source index or excerpts; authentication and completion-update details are not inferred.

Main entry points: [`src/App.js`](https://github.com/isaacdwamena/primemover-client/blob/develop/src/App.js) (Route application), [`src/pages/manager/Manager.jsx`](https://github.com/isaacdwamena/primemover-client/blob/develop/src/pages/manager/Manager.jsx) (Manager shell), [`src/pages/home/Home.jsx`](https://github.com/isaacdwamena/primemover-client/blob/develop/src/pages/home/Home.jsx) (Public home), [`src/components/estimate/Estimate.jsx`](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/estimate/Estimate.jsx) (Move estimate)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public moving site"]
  node_home["Public home<br/>[Home.jsx]"]
  node_marketing["Service content<br/>[HomeServices.jsx]"]
  node_moveform["Move request<br/>[UserForm.jsx]"]
end

subgraph group_manager["Manager workspace"]
  node_app["Route application<br/>[App.js]"]
  node_login["Sign in<br/>[Login.jsx]"]
  node_signup["Sign up<br/>[Signup.jsx]"]
  node_managerpage["Manager shell<br/>[Manager.jsx]"]
  node_navigation["Workspace navigation<br/>[SideBar.jsx]"]
  node_topnav["Top navigation<br/>[TopNav.jsx]"]
end

subgraph group_records["Customer operations"]
  node_newcustomers["Incoming customers<br/>[NewCustomers.jsx]"]
  node_newitem["Incoming record"]
  node_addcustomer["Add customer<br/>[AddCustomer.jsx]"]
  node_customerdetail["Customer detail<br/>[Customer.jsx]"]
  node_editcustomer["Edit customer<br/>[EditCustomer.jsx]"]
  node_estimate["Move estimate<br/>[Estimate.jsx]"]
  node_search["Customer search<br/>[SearchCustomer.jsx]"]
  node_completed["Completed moves<br/>[Completed.jsx]"]
  node_completeditem["Completed record<br/>[CompletedItem.jsx]"]
  node_delmodal["Delete dialog<br/>[DelModal.jsx]"]
  node_delcompleted["Completed delete dialog"]
end

subgraph group_services["Remote services"]
  node_api["Moving-service API"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_home
node_home -->|"renders"| node_marketing
node_home -->|"renders"| node_moveform
node_visitor -->|"submits request"| node_moveform
node_moveform -->|"creates customer"| node_api
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_signup
node_app -->|"routes to"| node_managerpage
node_app -->|"routes to"| node_newcustomers
node_app -->|"routes to"| node_addcustomer
node_app -->|"routes to"| node_editcustomer
node_app -->|"routes to"| node_estimate
node_app -->|"routes to"| node_completed
node_app -->|"routes to"| node_search
node_app -->|"routes to"| node_customerdetail
node_managerpage -->|"renders"| node_navigation
node_managerpage -->|"renders"| node_topnav
node_managerpage -->|"hosts outlet"| node_newcustomers
node_newcustomers -->|"renders"| node_newitem
node_newitem -->|"uses"| node_delmodal
node_completed -->|"renders"| node_completeditem
node_completeditem -->|"uses"| node_delcompleted
node_addcustomer -->|"creates customer"| node_api
node_editcustomer -->|"reads and updates"| node_api
node_customerdetail -->|"reads and deletes"| node_api
node_estimate -->|"reads and saves estimate"| node_api
node_estimate -->|"requests distance"| node_api
node_search -->|"searches customers"| node_api

click node_home "https://github.com/isaacdwamena/primemover-client/blob/develop/src/pages/home/Home.jsx"
click node_marketing "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/homeServices/HomeServices.jsx"
click node_moveform "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/userForm/UserForm.jsx"
click node_app "https://github.com/isaacdwamena/primemover-client/blob/develop/src/App.js"
click node_login "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/login/Login.jsx"
click node_signup "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/signup/Signup.jsx"
click node_managerpage "https://github.com/isaacdwamena/primemover-client/blob/develop/src/pages/manager/Manager.jsx"
click node_navigation "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/sideBar/SideBar.jsx"
click node_topnav "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/topNav/TopNav.jsx"
click node_newcustomers "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/newCustomers/NewCustomers.jsx"
click node_newitem "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/newCustomerItem/NewCustomerItem.jsx"
click node_addcustomer "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/addCustomer/AddCustomer.jsx"
click node_customerdetail "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/customer/Customer.jsx"
click node_editcustomer "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/editCustomer/EditCustomer.jsx"
click node_estimate "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/estimate/Estimate.jsx"
click node_search "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/searchCustomer/SearchCustomer.jsx"
click node_completed "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/completed/Completed.jsx"
click node_completeditem "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/completedItem/CompletedItem.jsx"
click node_delmodal "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/delModal/DelModal.jsx"
click node_delcompleted "https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/delModal/DelCompletedModal.jsx"

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_marketing,node_moveform toneBlue
class node_app,node_login,node_signup,node_managerpage,node_navigation,node_topnav toneAmber
class node_newcustomers,node_newitem,node_addcustomer,node_customerdetail,node_editcustomer,node_estimate,node_search,node_completed,node_completeditem,node_delmodal,node_delcompleted toneMint
class node_api toneRose
class node_visitor toneIndigo
```

## Components

### Public moving site

- [Public home](https://github.com/isaacdwamena/primemover-client/blob/develop/src/pages/home/Home.jsx): `src/pages/home/Home.jsx`
- [Service content](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/homeServices/HomeServices.jsx): `src/components/homeServices/HomeServices.jsx`
- [Move request](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/userForm/UserForm.jsx): `src/components/userForm/UserForm.jsx`

### Manager workspace

- [Route application](https://github.com/isaacdwamena/primemover-client/blob/develop/src/App.js): `src/App.js`
- [Sign in](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/login/Login.jsx): `src/components/login/Login.jsx`
- [Sign up](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/signup/Signup.jsx): `src/components/signup/Signup.jsx`
- [Manager shell](https://github.com/isaacdwamena/primemover-client/blob/develop/src/pages/manager/Manager.jsx): `src/pages/manager/Manager.jsx`
- [Workspace navigation](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/sideBar/SideBar.jsx): `src/components/sideBar/SideBar.jsx`
- [Top navigation](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/topNav/TopNav.jsx): `src/components/topNav/TopNav.jsx`

### Customer operations

- [Incoming customers](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/newCustomers/NewCustomers.jsx): `src/components/newCustomers/NewCustomers.jsx`
- [Incoming record](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/newCustomerItem/NewCustomerItem.jsx): `src/components/newCustomerItem/NewCustomerItem.jsx`
- [Add customer](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/addCustomer/AddCustomer.jsx): `src/components/addCustomer/AddCustomer.jsx`
- [Customer detail](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/customer/Customer.jsx): `src/components/customer/Customer.jsx`
- [Edit customer](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/editCustomer/EditCustomer.jsx): `src/components/editCustomer/EditCustomer.jsx`
- [Move estimate](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/estimate/Estimate.jsx): `src/components/estimate/Estimate.jsx`
- [Customer search](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/searchCustomer/SearchCustomer.jsx): `src/components/searchCustomer/SearchCustomer.jsx`
- [Completed moves](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/completed/Completed.jsx): `src/components/completed/Completed.jsx`
- [Completed record](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/completedItem/CompletedItem.jsx): `src/components/completedItem/CompletedItem.jsx`
- [Delete dialog](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/delModal/DelModal.jsx): `src/components/delModal/DelModal.jsx`
- [Completed delete dialog](https://github.com/isaacdwamena/primemover-client/blob/develop/src/components/delModal/DelCompletedModal.jsx): `src/components/delModal/DelCompletedModal.jsx`

### Remote services

- **Moving-service API**

### Other components

- **Visitor**

## Connections

- Visitor → Public home: visits
- Public home → Service content: renders (evidence: `src/pages/home/Home.jsx`)
- Public home → Move request: renders (evidence: `src/pages/home/Home.jsx`)
- Visitor → Move request: submits request (evidence: `src/components/userForm/UserForm.jsx`)
- Move request → Moving-service API: creates customer (evidence: `src/components/userForm/UserForm.jsx`)
- Route application → Public home: routes to (evidence: `src/App.js`)
- Route application → Sign in: routes to (evidence: `src/App.js`)
- Route application → Sign up: routes to (evidence: `src/App.js`)
- Route application → Manager shell: routes to (evidence: `src/App.js`)
- Route application → Incoming customers: routes to (evidence: `src/App.js`)
- Route application → Add customer: routes to (evidence: `src/App.js`)
- Route application → Edit customer: routes to (evidence: `src/App.js`)
- Route application → Move estimate: routes to (evidence: `src/App.js`)
- Route application → Completed moves: routes to (evidence: `src/App.js`)
- Route application → Customer search: routes to (evidence: `src/App.js`)
- Route application → Customer detail: routes to (evidence: `src/App.js`)
- Manager shell → Workspace navigation: renders (evidence: `src/pages/manager/Manager.jsx`)
- Manager shell → Top navigation: renders (evidence: `src/pages/manager/Manager.jsx`)
- Manager shell → Incoming customers: hosts outlet (evidence: `src/App.js`)
- Incoming customers → Incoming record: renders (evidence: `src/components/newCustomers/NewCustomers.jsx`)
- Incoming record → Delete dialog: uses (evidence: `src/components/newCustomerItem/NewCustomerItem.jsx`)
- Completed moves → Completed record: renders (evidence: `src/components/completed/Completed.jsx`)
- Completed record → Completed delete dialog: uses (evidence: `src/components/completedItem/CompletedItem.jsx`)
- Add customer → Moving-service API: creates customer (evidence: `src/components/addCustomer/AddCustomer.jsx`)
- Edit customer → Moving-service API: reads and updates (evidence: `src/components/editCustomer/EditCustomer.jsx`)
- Customer detail → Moving-service API: reads and deletes (evidence: `src/components/customer/Customer.jsx`)
- Move estimate → Moving-service API: reads and saves estimate (evidence: `src/components/estimate/Estimate.jsx`)
- Move estimate → Moving-service API: requests distance (evidence: `src/components/estimate/Estimate.jsx`)
- Customer search → Moving-service API: searches customers (evidence: `src/components/searchCustomer/SearchCustomer.jsx`)
