How apextradebt/phonep2c works
Nexus is a phone-recovery operations frontend: users can prepare unitary or fleet quotes, review market-based pricing advice, and monitor expertise and order progress. The app also exposes catalogue, market, user, and account settings areas. The graph follows explicit route wiring and sampled calls; several page implementations and quote-step connections were not sampled, so their internal relationships are left out. Market-analysis providers are shown only as optional integrations described by the UI.
Main entry points: App.tsx App routes · Devis.tsx Quote entry · DevisUnitaireForm.tsx Unitary quote · Settings.tsx Account settings
Components 26
Application shell
- App routes
src/App.tsx - App layout
src/components/LayoutContent.tsx
Quotes and pricing
- Quote entry
src/pages/Devis.tsx - Unitary quote
src/pages/Devis/DevisUnitaireForm.tsx - Device details
src/components/devis/unitaire/U_step1.tsx - Condition
src/components/devis/unitaire/U_step2.tsx - Quote details
src/components/devis/unitaire/U_step3.tsx - Market pricing
src/components/devis/unitaire/U_step4.tsx - Fleet intake
src/components/devis/flotte/F_step1.tsx - Recovery choice
src/components/devis/ChoiceReprise.tsx - Quote finalization
src/components/FinalStep.tsx - Quote PDF
src/components/DevisPDF.tsx
Recovery operations
- Logistics board
src/pages/logistique/Index.tsx - Orders
src/pages/logistique/Commandes.tsx - Logistics notifications
src/pages/logistique/Notifications.tsx
Market and catalogue
- Market analysis
src/pages/Marche.tsx - Phone catalogue
src/pages/Catalogue.tsx - Catalogue context
src/lib/CatalogContext.tsx - Browser overrides
Identity and account
- Sign-in page
src/pages/Connexion.tsx - Account settings
src/pages/Settings.tsx - User context
src/lib/UserContext.tsx
Other components
- Operator
- Auth0
- Application API
- Resale marketplaces
Connections 26
- Operator → App routes: opens
- App routes → Auth0: authenticates with
- App routes → App layout: renders routes
- App routes → Sign-in page: routes to
- App routes → Quote entry: routes to
- App routes → Market analysis: routes to
- App routes → Phone catalogue: routes to
- App routes → Logistics board: routes to
- App routes → Account settings: routes to
- Quote entry → Unitary quote: provides form
- Unitary quote → Device details: uses step
- Unitary quote → Condition: uses step
- Unitary quote → Quote details: uses step
- Unitary quote → Market pricing: uses step
- Quote entry → Fleet intake: offers fleet intake
- Quote entry → Recovery choice: offers recovery choice
- Quote entry → Quote finalization: offers finalization
- Quote finalization → Quote PDF: renders document
- Market pricing → Resale marketplaces: shows market sources
- Phone catalogue → Catalogue context: uses catalogue
- Catalogue context → Browser overrides: reads and writes
- Logistics board → Orders: renders tab
- Logistics board → Logistics notifications: renders tab
- Account settings → Auth0: gets token
- Account settings → User context: refreshes profile
- Account settings → Application API: sends account requests