How tahamrouah/a2e-website works
A2E Immobilier is a real-estate website with public property discovery and an admin property-management area. Visitors browse listings, search or filter inventory, and open property details; administrators log in and manage listings through protected routes. The graph includes the API-backed inventory path and the broader marketing, contact, and collaboration pages. The README is empty, so capabilities and relationships are based on the provided source excerpts and SOURCE INDEX; unsampled behavior is not inferred.
Main entry points: App.jsx Route composition · useProperties.js Inventory hook · propertyApi.js Property API client · adminProtectedRoute.jsx Protected route
Components 25
Application routing
- Route composition
src/App.jsx
Public experience
- Site navigation
src/Components/Nav.jsx - Home sections
src/Components/Hero.jsx - Featured offers
src/Components/Offers.jsx - Site footer
src/Components/Footer.jsx
Property inventory
- Property listings
src/Views/Properties.jsx - Property details
src/Views/PropertyDetails.jsx - Inventory hook
src/hooks/useProperties.js - Property API client
src/Data/propertyApi.js - Property API service
- Local property data
src/Data/properties.js - Property importer
src/Data/importProperties.js - Property images
src/Data/propertyImage.js
Administration
- Protected route
src/Admin/adminProtectedRoute.jsx - Admin login
src/Admin/Login.jsx - Admin dashboard
src/Admin/Dashboard.jsx - Manage properties
src/Admin/Properties.jsx - Property editor
src/Admin/PropertyForm.jsx
Business pages
- About page
src/Views/About.jsx - Contact page
src/Views/Contact.jsx - Collaboration page
src/Views/Collaborer.jsx - Seller services
src/Components/Service.jsx - Expertise section
src/Components/Expertise.jsx
Other components
- Visitor
- Administrator
Connections 33
- Visitor → Route composition: opens site
src/App.jsx - Administrator → Route composition: opens site
src/App.jsx - Route composition → Site navigation: renders
src/App.jsx - Route composition → Site footer: renders
src/App.jsx - Route composition → Home sections: routes to
src/App.jsx - Route composition → Featured offers: routes to
src/App.jsx - Route composition → Property listings: routes to
src/App.jsx - Route composition → Property details: routes to
src/App.jsx - Route composition → Admin login: routes to
src/App.jsx - Route composition → Protected route: wraps admin routes
src/App.jsx - Route composition → About page: routes to
src/App.jsx - Route composition → Contact page: routes to
src/App.jsx - Route composition → Collaboration page: routes to
src/App.jsx - Route composition → Seller services: routes to
src/App.jsx - Route composition → Expertise section: routes to
src/App.jsx - Site navigation → Inventory hook: loads inventory
src/Components/Nav.jsx - Featured offers → Inventory hook: loads inventory
src/Components/Offers.jsx - Property listings → Inventory hook: loads inventory
src/Views/Properties.jsx - Inventory hook → Property API client: calls
src/hooks/useProperties.js - Property details → Property API client: fetches detail
src/Views/PropertyDetails.jsx - Property API client → Property API service: HTTP requests
src/Data/propertyApi.js - Featured offers → Property images: resolves images
src/Components/Offers.jsx - Property listings → Property images: resolves images
src/Views/Properties.jsx - Property details → Property images: resolves images
src/Views/PropertyDetails.jsx - Property importer → Local property data: imports data
src/Data/importProperties.js - Property importer → Property API client: imports API
src/Data/importProperties.js - Protected route → Admin dashboard: protects route
src/App.jsx - Protected route → Manage properties: protects route
src/App.jsx - Protected route → Property editor: protects route
src/App.jsx - Admin dashboard → Inventory hook: loads inventory
src/Admin/Dashboard.jsx - Manage properties → Inventory hook: loads inventory
src/Admin/Properties.jsx - Manage properties → Property API client: uses API
src/Admin/Properties.jsx - Property editor → Property API client: reads and saves
src/Admin/PropertyForm.jsx