How damdadaxx/13-moving-team3-fe works
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: page.tsx Landing page · PendingEstimateCard.tsx Pending estimate card · types Domain types · features Feature data hooks
Components 21
User experience
- Landing page
src/app/[locale]/page.tsx - Sign-in and signup
src/app/[locale]/(auth) - Mover discovery
src/app/[locale]/(public)/mover
Customer journeys
- Estimate request
src/app/[locale]/(customer)/customer/estimate-request/page.tsx - Customer estimates
src/app/[locale]/(customer)/customer/estimates - Customer reviews
src/app/[locale]/(customer)/customer/reviews - Customer profile
src/app/[locale]/(customer)/customer/profile - Pending estimate card
src/components/features/customer/Estimate/PendingEstimateCard.tsx
Mover journeys
- Incoming requests
src/app/[locale]/(mover)/mover/requests/page.tsx - Mover estimates
src/app/[locale]/(mover)/mover/estimates - Mover account and profile
src/app/[locale]/(mover)/mover/mypage
Shared platform
- Feature data hooks
src/hooks/features - API client
src/lib/api/clientFetch.ts - Backend proxy
src/app/api/[...path]/route.ts - Notification stream
src/app/api/notifications/stream/route.ts - Domain types
src/types - Service type display
src/components/ui/ServiceTypeTag.tsx - Auth provider
src/lib/providers/AuthProvider.tsx - Auth hook
src/hooks/features/auth/useAuth.ts
Other components
- Customer or mover
- Moving service backend
Connections 22
- Customer or mover → Landing page: opens
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
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
src/app/api/[...path]/route.ts - Notification stream → Moving service backend: streams updates
- Feature data hooks → Notification stream: opens stream
src/hooks/features/notification/useNotificationStream.ts - Auth hook → Auth provider: reads context
src/hooks/features/auth/useAuth.ts - Pending estimate card → Domain types: uses estimate types
src/components/features/customer/Estimate/PendingEstimateCard.tsx - Service type display → Domain types: uses service type
src/components/ui/ServiceTypeTag.tsx - Landing page → Domain types: uses shared domain