# damdadaxx/13-moving-team3-fe architecture

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

- Interactive diagram: https://gitdiagram.com/damdadaxx/13-moving-team3-fe
- Repository: https://github.com/damdadaxx/13-moving-team3-fe

## Overview

Moving is a frontend platform for matching people who need a move with moving professionals. Customers can find movers, request and compare estimates, confirm one, and manage reviews; movers receive requests and manage estimates and profiles. The App Router separates public, customer, mover, and authentication screens, with feature hooks and API clients supporting the experience. The README identifies the product, while sampled source confirms selected UI, routing, proxy, and notification connections; unsampled page-to-service links are shown only as unverified.

Main entry points: [`src/app/[locale]/page.tsx`](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/page.tsx) (Landing page), [`src/components/features/customer/Estimate/PendingEstimateCard.tsx`](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/components/features/customer/Estimate/PendingEstimateCard.tsx) (Pending estimate card), [`src/types`](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/types) (Domain types), [`src/hooks/features`](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/hooks/features) (Feature data hooks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["User experience"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_auth["Sign-in and signup"]
  node_mover_discovery["Mover discovery"]
end

subgraph group_customer["Customer journeys"]
  node_customer_request["Estimate request<br/>[page.tsx]"]
  node_customer_estimates["Customer estimates"]
  node_customer_reviews["Customer reviews"]
  node_customer_profile["Customer profile"]
  node_pending_card["Pending estimate card"]
end

subgraph group_mover["Mover journeys"]
  node_mover_requests["Incoming requests<br/>[page.tsx]"]
  node_mover_estimates["Mover estimates"]
  node_mover_profile["Mover account and profile"]
end

subgraph group_platform["Shared platform"]
  node_feature_hooks["Feature data hooks"]
  node_api_client["API client<br/>[clientFetch.ts]"]
  node_api_proxy["Backend proxy<br/>[route.ts]"]
  node_notifications["Notification stream<br/>[route.ts]"]
  node_domain_types["Domain types"]
  node_service_tag["Service type display<br/>[ServiceTypeTag.tsx]"]
  node_auth_provider["Auth provider<br/>[AuthProvider.tsx]"]
  node_auth_hook["Auth hook<br/>[useAuth.ts]"]
end

node_visitor(("Customer or mover"))
node_backend["Moving service backend"]

node_visitor -->|"opens"| node_landing
node_visitor -.->|"signs in"| node_auth
node_visitor -.->|"finds movers"| node_mover_discovery
node_landing -.->|"offers discovery"| node_mover_discovery
node_visitor -.->|"requests estimate"| node_customer_request
node_customer_request -.->|"manages estimates"| node_customer_estimates
node_customer_estimates -.->|"renders card"| node_pending_card
node_pending_card -->|"renders tag"| node_service_tag
node_visitor -.->|"receives requests"| node_mover_requests
node_mover_requests -.->|"manages estimates"| node_mover_estimates
node_visitor -.->|"manages reviews"| node_customer_reviews
node_visitor -.->|"maintains profile"| node_customer_profile
node_visitor -.->|"maintains profile"| node_mover_profile
node_feature_hooks -.->|"uses client"| node_api_client
node_api_client -.->|"sends requests"| node_api_proxy
node_api_proxy -->|"proxies requests"| node_backend
node_notifications -.->|"streams updates"| node_backend
node_feature_hooks -->|"opens stream"| node_notifications
node_auth_hook -->|"reads context"| node_auth_provider
node_pending_card -->|"uses estimate types"| node_domain_types
node_service_tag -->|"uses service type"| node_domain_types
node_landing -.->|"uses shared domain"| node_domain_types

click node_landing "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/page.tsx"
click node_auth "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(auth)"
click node_mover_discovery "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(public)/mover"
click node_customer_request "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/(customer)/customer/estimate-request/page.tsx"
click node_customer_estimates "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(customer)/customer/estimates"
click node_customer_reviews "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(customer)/customer/reviews"
click node_customer_profile "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(customer)/customer/profile"
click node_mover_requests "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/(mover)/mover/requests/page.tsx"
click node_mover_estimates "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(mover)/mover/estimates"
click node_mover_profile "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(mover)/mover/mypage"
click node_feature_hooks "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/hooks/features"
click node_api_client "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/lib/api/clientFetch.ts"
click node_api_proxy "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/api/%5B...path%5D/route.ts"
click node_notifications "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/api/notifications/stream/route.ts"
click node_domain_types "https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/types"
click node_service_tag "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/components/ui/ServiceTypeTag.tsx"
click node_pending_card "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/components/features/customer/Estimate/PendingEstimateCard.tsx"
click node_auth_provider "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/lib/providers/AuthProvider.tsx"
click node_auth_hook "https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/hooks/features/auth/useAuth.ts"

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_landing,node_auth,node_mover_discovery toneBlue
class node_customer_request,node_customer_estimates,node_customer_reviews,node_customer_profile,node_pending_card toneAmber
class node_mover_requests,node_mover_estimates,node_mover_profile toneMint
class node_feature_hooks,node_api_client,node_api_proxy,node_notifications,node_domain_types,node_service_tag,node_auth_provider,node_auth_hook toneRose
class node_visitor,node_backend toneIndigo
```

## Components

### User experience

- [Landing page](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/page.tsx): `src/app/[locale]/page.tsx`
- [Sign-in and signup](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(auth)): `src/app/[locale]/(auth)`
- [Mover discovery](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(public)/mover): `src/app/[locale]/(public)/mover`

### Customer journeys

- [Estimate request](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/(customer)/customer/estimate-request/page.tsx): `src/app/[locale]/(customer)/customer/estimate-request/page.tsx`
- [Customer estimates](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(customer)/customer/estimates): `src/app/[locale]/(customer)/customer/estimates`
- [Customer reviews](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(customer)/customer/reviews): `src/app/[locale]/(customer)/customer/reviews`
- [Customer profile](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(customer)/customer/profile): `src/app/[locale]/(customer)/customer/profile`
- [Pending estimate card](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/components/features/customer/Estimate/PendingEstimateCard.tsx): `src/components/features/customer/Estimate/PendingEstimateCard.tsx`

### Mover journeys

- [Incoming requests](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/%5Blocale%5D/(mover)/mover/requests/page.tsx): `src/app/[locale]/(mover)/mover/requests/page.tsx`
- [Mover estimates](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(mover)/mover/estimates): `src/app/[locale]/(mover)/mover/estimates`
- [Mover account and profile](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/app/%5Blocale%5D/(mover)/mover/mypage): `src/app/[locale]/(mover)/mover/mypage`

### Shared platform

- [Feature data hooks](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/hooks/features): `src/hooks/features`
- [API client](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/lib/api/clientFetch.ts): `src/lib/api/clientFetch.ts`
- [Backend proxy](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/api/%5B...path%5D/route.ts): `src/app/api/[...path]/route.ts`
- [Notification stream](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/app/api/notifications/stream/route.ts): `src/app/api/notifications/stream/route.ts`
- [Domain types](https://github.com/damdadaxx/13-moving-team3-fe/tree/main/src/types): `src/types`
- [Service type display](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/components/ui/ServiceTypeTag.tsx): `src/components/ui/ServiceTypeTag.tsx`
- [Auth provider](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/lib/providers/AuthProvider.tsx): `src/lib/providers/AuthProvider.tsx`
- [Auth hook](https://github.com/damdadaxx/13-moving-team3-fe/blob/main/src/hooks/features/auth/useAuth.ts): `src/hooks/features/auth/useAuth.ts`

### Other components

- **Customer or mover**
- **Moving service backend**

## Connections

- Customer or mover → Landing page: opens (evidence: `README.md`)
- Customer or mover → Sign-in and signup: signs in
- Customer or mover → Mover discovery: finds movers
- Landing page → Mover discovery: offers discovery
- Customer or mover → Estimate request: requests estimate
- Estimate request → Customer estimates: manages estimates
- Customer estimates → Pending estimate card: renders card
- Pending estimate card → Service type display: renders tag (evidence: `src/components/features/customer/Estimate/PendingEstimateCard.tsx`)
- Customer or mover → Incoming requests: receives requests
- Incoming requests → Mover estimates: manages estimates
- Customer or mover → Customer reviews: manages reviews
- Customer or mover → Customer profile: maintains profile
- Customer or mover → Mover account and profile: maintains profile
- Feature data hooks → API client: uses client
- API client → Backend proxy: sends requests
- Backend proxy → Moving service backend: proxies requests (evidence: `src/app/api/[...path]/route.ts`)
- Notification stream → Moving service backend: streams updates
- Feature data hooks → Notification stream: opens stream (evidence: `src/hooks/features/notification/useNotificationStream.ts`)
- Auth hook → Auth provider: reads context (evidence: `src/hooks/features/auth/useAuth.ts`)
- Pending estimate card → Domain types: uses estimate types (evidence: `src/components/features/customer/Estimate/PendingEstimateCard.tsx`)
- Service type display → Domain types: uses service type (evidence: `src/components/ui/ServiceTypeTag.tsx`)
- Landing page → Domain types: uses shared domain
